Odoo Help

Welcome!

This community 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.

0

What is the difference between table ir_translation and .po files? [Closed]

By
baifusheng
on 3/12/14, 11:58 PM 923 views

The Question has been closed

by
Ray Carnes
on 03/16/2014 17:33:43

Both table ir_translation and .po files exist in Openerp 7. Both are for storing translated strings. What is the difference between them?

2

Med Said BARA

--Med Said BARA--
2664
| 5 5 7
Algeria
--Med Said BARA--
Med Said BARA
On 3/13/14, 6:22 AM

Hello;

There is one table ir_translation and many .po files.

There is one .po files per Language and per module.

Each .po file contains a translation of the terms (words) of the module for a given language (eg. fr_FR.po translated from the source language .po file).

The ir_translation table contains all the terms (Source Term and Translated Term in a 1 to 1 relation) for all the languages used in your openERP instance.

Does the record synchronized in ir_translation table and .po files while we change a translation in settings->translation ?

baifusheng
on 3/13/14, 12:01 PM

If you load a New Translation or Import a Translation: You have to Synvhronize Terms with Settings--->Translation---> Application Terms ---> Synchronize Terms or Restart your server. The new translation will be recorded in the Database (Synchronized).

Med Said BARA
on 3/13/14, 1:34 PM

Remember, after the installation of a module, the terms are read from the database and not from the .po files, according to the prefered language for each user (if the related Translation exist, if not the source Terms are used).

Med Said BARA
on 3/13/14, 1:44 PM

Thank you very much Med!

baifusheng
on 3/13/14, 11:14 PM

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/12/14, 11:58 PM
Seen: 923 times
Last updated: 3/16/15, 8:10 AM