Translating Firefox Extensions

Asked by Michael Mulqueen

I have a Launchpad project for a Firefox extension. I want to use it for translations but Firefox extensions do not use gettext. Please can you make a suggestion about how I can do this.

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jeroen T. Vermeulen (jtv) said :
#1

Launchpad supports import of XPI files. You can create a template by uploading the en-US.xpi, and then translate as normal.

The bit limitation is that we do not (yet) support export of XPI files. To get your translation data back out, you'll have to export in our slightly customized gettext format called XPIPO. Alexander Sack has developed and worked with conversion tools that can convert from XPIPO back to XPI. Those tools may be useful to you. I'm asking Alexander to comment, but meanwhile, this may be of interest:

    https://code.launchpad.net/~mozillateam/rosetta/po2xpi

I only had a brief look at it but it looks like what the Firefox/Ubuntu people use.

Can you help with this problem?

Provide an answer of your own, or ask Michael Mulqueen for more information if necessary.

To post a message you must log in.