How can I test new translations

Asked by Doru Horișco

If I translate a package documentation and I want to test it, how can I do that?
The translation package are in .po or .mo formats and most of the system
documentation is in xml format. It si a way to automatically transform the
.po or .mo files into xml files?
Or if is an other way to test the new translation that I've made directly into
my Ubuntu instalation.
I can use the Launchpad to translate te package, I can use separate .po files
but I don't know how to update my personal documentation to the new translation.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Simos Xenitellis 
Solved:
Last query:
Last reply:
Revision history for this message
Best Simos Xenitellis  (simosx) said :
#1

You need to install the package "poxml".

It comes with a command line tool called "po2xml",

$ po2xml
usage: po2xml english-XML translated-PO
$ _

You need to locate the original XML file. The generated file is the XML file in your language.
You can use "yelp" (help browser) to view it.

Revision history for this message
Doru Horișco (doruhushhush) said :
#2

Thanks Simos Xenitellis, that solved my question.