On 03/02/10 06:58, mra (Open ERP) wrote:
I update the statement here: when loading the translations for a
language, openerp first see if the lang code and country code both are
same (fr_FR) then it will find "fr.po" but in case of different lang
code and country code then it will find its original name (with
underscore format) "fr_BE.po" ..
Mustafa, thank you very much for the update, I wasn't aware of this
small difference.
But you do confirm that if the user language has different country and
language codes OpenERP will still default to the language PO in case
there is no country specific one?
I.e. if user has pt_BR and there is no pt_BR for a module, OpenERP will
use pt.po for that user and not go back to English, right?
I haven't verified in the code, but if that's not the case, then we
probably need to adapt it.