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

Add config/command for extraction #2

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

Add config/command for extraction #2

rusackas opened this issue Oct 2, 2024 · 0 comments

Comments

@rusackas
Copy link
Member

rusackas commented Oct 2, 2024

It might be nice to be able to update the .pot strings (extract) and fill in the blanks with new stuff. This could be useful for CI implementation, or just updating translations on a more regular basis.

In the case of superset, we have this command to extract new strings to the .pot file.
pybabel update -i superset/translations/messages.pot -d superset/translations --ignore-obsolete

If we were to add that as config to ai18n, then we could simply run a command like ai18n extract

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