[Lazarus] DefaultTranslator, LCLGetLanguageIDs and Portuguese language trouble...

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Jan 29 10:40:34 CET 2011


 


Hans-Peter Diettrich <DrDiettrich1 at aol.com> hat am 29. Januar 2011 um 07:05
geschrieben:

> Maxim Ganetsky schrieb:
>
> >> I really don´t know why these files was standardized with "pb" instead
> >> of "pt".
> >
> > Please check if LazDE translation works when you rename its .pb.po file
> > to .pt_BR.po.
> >
> > If it works, we can solve all these problems by renaming all .pb.po
> > files to .pt_BR.po.
>
> Why a distinction between Brasilian and other Portuguese here?
>
> How are en_US, en_GB etc. handled? 
The algorithm first searches for the "en_US", then "en", finally the default
translation.
Because the main language id 'pt' differ from 'pb' a different po file is used.
Maybe pb could be used as fallback for pt and vice versus in translations.pas.
 
Mattias
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110129/dc1cf5d3/attachment-0003.html>


More information about the Lazarus mailing list