29.01.2011 3:29, Marcelo B de Paula пишет:
Hi list,

I am having some trouble using my native language with Lazarus
applications (Brazilian Portuguese).
IDE itself works fine with its translated language files, but the tools
included with it (lazde for example) and programs using
DefaulTranslator, do not recognize the correct language files.

The portuguese language files have an extension ".pb.po".
Unfortunatelly, function LCLGetLanguageIDS returns "pt_BR" or "pt" as a
locale identification. Its correct in OS point of view, but make
translations routines unusable since they can´t find the correct files.

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.

--
Best regards,
 Maxim Ganetsky                  mailto:[email protected]

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to