Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate gettext file for various error messages #1771

Open
allenwyma opened this issue Feb 6, 2025 · 0 comments
Open

Generate gettext file for various error messages #1771

allenwyma opened this issue Feb 6, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@allenwyma
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Being able to translate error messages into different languages is quite important as most of the world speaks another language, natively.

Describe the solution you'd like
Generate a gettext file that can possibly be updated with a mix task, that will create a POT file so we can generate the translation for the error messages.

Maybe even for field names, we can also generate a "humanized" name.

Describe alternatives you've considered
Would need to manually create the file OR scan the deps of ash and generate the file.

Express the feature either with a change to resource syntax, or with a change to the resource interface

For example

 mix ash.codegen.gettext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Someday
Development

No branches or pull requests

2 participants