To stay consistent with pot file

Sarah Wang sarahs at redhat.com
Tue Dec 7 11:52:28 UTC 2004


Some of you may have observed that the number of entries of each locale
are quite different. The reason is that po files in some locales and/or
modules are not kept up to date with the corresponding pot file. To
ensure po files stay up2date, it is a good idea to run the following
command before you start working on a file and before you commit the
file:

msgmerge po-file pot-file > tmp-file (this is to merge with the latest
pot file)

mv tmp-file po-file

msgfmt -cvo /dev/null po-file (this is view translation stat as well as
to do basic format check)

If you are the coordinator for the entire locale, and want to do this
regularly for all modules in this locale, you can use the attached
simple script to do so:
automerge.sh <lang-code>

Note:
1) put the script into a directory in your command path
2) chmod 755
3) be aware of potential file conflicts

Cheers,
Sarah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: automerge.sh
Type: text/x-sh
Size: 293 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/trans/attachments/20041207/c71a08a8/attachment.bin 


More information about the trans mailing list