Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

To what format and how can I convert HTML file in order to translate it with Lokalize application?

share|improve this question
add comment

3 Answers 3

You can also use the xml2po tool to convert the HTML page to a .po or .pot file in gettext format, which you can then load and translate with Lokalize. Once translated, you can use the same tool to build the translated HTML pages. There are a couṕle of examples of invokation when you call the xml2po --help command.

You'll need to install the gnome-doc-utils package to use the xml2po tool

share|improve this answer
add comment

You can use OmegaT for translating those kind of files. http://www.omegat.org/

share|improve this answer
add comment

You have to create a project in Lokalize and add the HTML file to this project. Lokalize should create a PO file yet it did not work on my computer.

Lokalize uses the poxml package for this task so you can convert your HTML to PO with the xml2pot/transxx/po2xml commands.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.