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

CLI command(s) to add a new language #4

Open
rusackas opened this issue Oct 2, 2024 · 0 comments
Open

CLI command(s) to add a new language #4

rusackas opened this issue Oct 2, 2024 · 0 comments

Comments

@rusackas
Copy link
Member

rusackas commented Oct 2, 2024

On Superset, we can create a new language with pybabel init -i superset/translations/messages.pot -d superset/translations -l fi to create Finish, for example. If this command were configured in ai18n, we could use the AI18N_TARGET_LANGUAGES config to create missing .po files, or add a new command, e.g, ai18n lang fi to create the new .po file (and... maybe... fill it in)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant