2010-07-26, 13:40
well this appears to be working:
xml2po -o template.pot template.xml
xml2po -p LANG.po -o LANG.xml template.xml
xml2po -o template.pot template.xml
xml2po -p LANG.po -o LANG.xml template.xml
ventech Wrote:well this appears to be working:
xml2po -o template.pot template.xml
xml2po -p LANG.po -o LANG.xml template.xml
Quote:xml2po -o template.pot template.xml
xml2po -p LANG.po -o LANG.xml template.xml
alanwww1 Wrote:The only think to keep things maintained is to create the po template (pot) file from time to time using the current strings.xml files in svn or git and i guess upload to launchpad.actually, launchpad can automatically import from bazaar branches
ventech Wrote:actually, launchpad can automatically import from bazaar branches
alanwww1 Wrote:But doesn't Launchpad needs po or pot file for direct import ? In this case the developers would always have to keep a po file in their repositories.either; the person who adds a string also adds it to the .pot file, or you have a script that executes xml2po. i think the latter is the best because then you can export from launchpad too.
spiff Wrote:this looks promising. i'll discuss with those with the access needed.
#: en.xml:27(string) en.xml:48(string)
msgid "May"
msgstr ""
#: en.xml:27(string) en.xml:48(string)
msgid "May"
msgstr "Mai"
[...]
#: en.xml:27(string) en.xml:48(string)
msgid "May"
msgstr "mai"