[Lazarus] RE : Lazarus doesn't set IDE language correctly

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Wed Aug 31 10:59:12 CEST 2011


On Wed, Aug 31, 2011 at 10:54 AM, Ludo Brands <ludo.brands at free.fr> wrote:
> Are LC_ALL or LC_MESSAGES defined? They have higer priority. Lazarus checks
> LC_ALL, LC_MESSAGES, LANG in that order.

Is that really a good idea to check LC_MESSAGES before LANG?

http://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html

The LC_MESSAGES environment variable specifies the language to use in
diagnostic messages.

Does not seams like a good idea to give it priority over LANG.

Also:

If the LC_ALL environment variable is set, it overrides the value of
LC_CTYPE and LC_MESSAGES; otherwise, LC_CTYPE and LC_MESSAGES default
to the value of the LANG environment variable. If none of these
variables are set, GCC defaults to traditional C English behavior.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list