translation by module

Asked by Fabien (Open ERP)

Hello,

In our project (openerp.com), we have 300 optional modules. All modules are completly different and are not installed in every installation. They are developped by different people but most are made by our team. We don't want to manage a launchpad project by module, so they are all managed through the same launchpad project (openobject-addons).

We are currently managing translations by module. Is the translation system of launchpad able to do that ?
We'd like to send one .po file per module and each module will have several languages. How can we do that efficiently on launchpad ?

Fabien

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
Jeroen T. Vermeulen Edit question
Solved by:
Fabien (Open ERP)
Solved:
Last query:
Last reply:
Revision history for this message
Jeroen T. Vermeulen (jtv) said :
#1

Simply create and upload a separate template for each module, and translate it separately.

To make it go smoothly, follow these rules:

1. Upload your templates in a tarball; this way, Launchpad gets to see their directory structure. You can do the same with the translations if you like; see below.

2. Give each template its own directory, for example: modulename/po/modulename.pot. This way the import system will be able to see which translation belongs to.

3. Name each translation file after its language code. For example, an Italian translation file may be called modulename/po/it.po

4. Keep translation files in the same directories as their respective templates. When you upload translation files in bulk, upload them as tarballs so Launchpad sees which directory you want each file in. Or if you're uploading just a single file, upload it from the translation page for the right language and the right template.

If you follow these rules, only the initial template uploads will need to be reviewed. Future uploads will be processed automatically.

Revision history for this message
Fabien (Open ERP) (fp-tinyerp) said :
#2

Thanks.