-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Make Commit localizable #16
Conversation
@pervoj could you have a look see if it makes sense to you? |
9d4ea43
to
87dca1a
Compare
You can also make some simple script (e.g. #!/bin/bash
xgettext -f po/POTFILES -o po/re.sonny.Commit.pot -cTRANSLATORS --from-code=UTF-8
sed -i "s/Project-Id-Version: PACKAGE VERSION/Project-Id-Version: re.sonny.Commit/" po/re.sonny.Commit.pot
msgmerge -U po/*.po po/re.sonny.Commit.pot You can run this script before each release and then, for example, create an issue and mention the translator. (dialect-app/dialect#157) This is a simple and effective way to keep the translations up to date in each version. |
I found that you can also update the POT and PO files using Meson commands: meson compile projectname-pot # for generating POT file
meson compile projectname-update-po # for updating PO files |
Nice catch. I'm always hesitant to rely on meson too much but perhaps it's time I fully embrace it. |
No description provided.