I use xgettext to help translate a large code base, and I have two questions:
- If I have one .po file for each language, is there an easy way to update them all using one xgettext scan for the codebase, or do I need to run xgettext once for each language?
- If I add the target langauge to the .po file header with poedit , it seems that xgettext overwrites this with the default headers. How can i stop this?
Perhaps I am using the wrong tool, in which case suggestions are welcome. I want to be able to scan code and update .po files with any new lines, but leaving the header information intact.
EDIT: I know that poedit can scan code, but I was hoping to find a command line application to run the scan to simplify the process.
source
share