Recent Updates
Loading...
Monday 25 April 2016

Adding a new language in ODOO

4/25/2016 12:23:00 pm
Following are the steps for adding a new language in ODOO(OpenERP):

1. Login to your database as Administrator user and go to 'Settings->Languages->Load a Translation'. Select a language in the pop up window(wizard). You can also select the 'Overwrite Existing Terms' and 'Website to translate' in the wizard. Then click on Load button for loading the new language.


Once the language is created you will get the following confirmation message.


You can also see the list of languages installed in your ODOO databse in 'Settings->Translations->Languages'.

2. After installing the language translations for all the labels(terms) in base modules will be created in the database automatically. But for your customized modules to get translated we need to setup the translation for all the terms(field labels, button names, menu names etc) manually. For this go to 'Settings->Translations->Import / Export->Export Translation'. In the wizard which opens on clicking the above menu, select the following values:
    a. Language
    b. File format: Select 'PO File'.
    c. Modules To Export: Select your customized modules here. For example I am selecting the Sales         Management module. In your case it might be something like Sales Management Customization         or Purchase Management Customization etc.
Then click on 'Export' button.


Once the export translation is completed you will get the following window from which you can download the PO file for your selected language.



3. Open the downloaded PO file and add the translations for each labels in English. In the file add value to 'msgstr' which should be the translation of the value in 'msgid' to your new language.









4. After making the changes in the PO file, copy the file to 'i18n' folder of your module in addons. If there is no folder named i18n create the folder in your module and copy the PO file in it.























5. Now restart the server and upgrade your module.
6. Then select the language in 'Preferences' in your user and it will load your database in  new language.





























The translated view will look like the following:






















For any doubts, suggestions or problems you can comment below or contact me via email.

Thanks,

Gopan

9 comments:

  1. (h) nice topic and good information.It really helped me to find new setting in odoo platform
    we runs a odoo training in thrissur

    ReplyDelete
  2. Nice blog. Thanks for sharing such great information.Inwizards Inc is a odoo Development company offers quality odoo development services best in web industries. Intrested click here - Hire Odoo developers India, Odoo Development Company

    ReplyDelete
  3. I am expecting more interesting topics from you. And this was nice content and definitely it will be useful for many people. Odoo Training in Ahmedabad

    ReplyDelete
  4. Thanks, article was of a great use. If you are interested in odoo ebay integration , feel free to check my blog

    ReplyDelete
  5. I want to add Marathi & Kannada languages in my Odoo system. Can you help me with that?

    ReplyDelete
    Replies
    1. Please follow the steps and if you run into any erros I will help you resolve that.

      Delete
  6. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. language translation

    ReplyDelete

 
Toggle Footer