Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

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

You can use OmegaT for translating those kind of files.

share|improve this answer

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

Your Answer


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.