Odoo Help


Language File Generation in OpenERP 7

on 5/27/14, 2:48 AM 1,296 views

I have cretaed new addon for reporting with in that just created report folder and .py files to call default account template .rml file(RML path is addons/account/account_print_invoice.rml). After that installed the addon and generated the po files for Dutch language from Setting > Translation> Import/Export > Export Translation. I didn't find any contents for translation in that po file. My .po file look like this:

# Translation of OpenERP Server.
# This file contains the translation of the following modules:
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-05-27 06:11+0000\n"
"PO-Revision-Date: 2014-05-27 06:11+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

Please help me to generate language file.



Ludo - 21South

--Ludo - 21South--
| 2 2 5
Zwijndrecht, Netherlands
--Ludo - 21South--


Ludo - 21South
On 5/27/14, 11:05 AM

Have you included the imports for all the files and given all the strings you wanted to translate the underscore?


from openerp.tools.translate import _


my_string = "translate me"

replaced with:

my_string = _("translate me")

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/27/14, 2:48 AM
Seen: 1296 times
Last updated: 3/16/15, 8:10 AM