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

Automate updating translation template files #116

Open
dylanmccall opened this issue Oct 26, 2023 · 1 comment
Open

Automate updating translation template files #116

dylanmccall opened this issue Oct 26, 2023 · 1 comment

Comments

@dylanmccall
Copy link
Contributor

dylanmccall commented Oct 26, 2023

At the moment, updating kolibri-gnome.pot with new strings is a manual process, which makes it very easy to forget. It also isn't documented. Instead, consider adding a pre-commit hook or a github workflow which updates POT and PO files automatically.

@dylanmccall
Copy link
Contributor Author

dylanmccall commented Oct 26, 2023

For reference…

To update pot files, you need to have a terminal open inside the build directory generated by meson, for example using New Build Terminal in GNOME Builder. Run this command:

ninja kolibri-gnome-pot

… and this command to merge that change with all the PO files (although that might not be necessary depending on how we talk to Transifex?):

ninja kolibri-gnome-update-po

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