Στις 10/5/2013 3:26 μμ, ο/η Harald Oehlmann έγραψε:
> On 10 Mai, 10:36, George Petasis <
petas...@yahoo.gr> wrote:
>> Στις 10/5/2013 10:44 πμ, ο/η Harald Oehlmann έγραψε:
>> Perhaps irrelevant, but I have windows 7 english with greek UI language
>> installed, and wish picks up the correct language.
>> msgcat::mclocale returns "el".
>
> Sorry, IMHO this is not entierely correct.
> It should be "el_gr".
> I might be wrong here, but please do the tests below.
>
>> I always thought that this information is retrieved from the locale set
>> for "non-unicode" programs. Is this about to change?
>
> It always first looks to the environment and then to the registry.
> The change is to check an additional registry key.
>
> George,
>
> could you please check, if you have an evironment variable "LANG" set
> (and also "LC_ALL" or "LC_MESSAGES").
> I have that due to an installed "Cygwin".
I also have "LANG=EL", and I don't have cygwin.
No LC_ALL or LC_MESSAGES.
>
> Could you start a wish without that (for example by the following
> batch file):
> --start.bat--
> set LANG=
> wish86.exe
> --eof---
>
> Then you should get:
> el_gr
> with Windows 7.
Yes, now it returns el_gr.
>
> What is the normal ietf language tag for greek in Greece in greek
> alphabet ?
> Is it: el-GR
> or el-grek-GR
el-GR.
>
> I have implemented into msgcat to translate:
> el-Latn-GR
> to:
> el_gr_latin
> but this tag is marked as obsolate, so there is no script difference
> for Greek any more...
I am not sure I follow you :-)
Ok
>
> Thank you,
> Harald
>