← Back to team overview

openerp-community team mailing list archive

Re: a new Community Team

 

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.

I will update the blog post with the exact behavior once I confirm it.

Thanks!


-- 
Olivier Dony
OpenERP / Tiny Belgium
Chaussée de Namur 40
B-1367 Grand-Rosière
Belgium
Phone: +32.81.81.37.00
Fax: +32.81.73.35.01
Web: http://openerp.com
Blog: http://openerp.com/planet



Follow ups

References