Menu selection algorithm

Jeff Smith whydoubt at hotmail.com
Sat Nov 23 13:21:43 CST 2002


Dmitry,
  I still have win95-osr2 loaded on a machine.  Let me know what I need to 
run
the test on that box and I would glad to do so if this would help out.

-- Jeff S


>From: "Dmitry Timoshkov" <dmitry at baikal.ru>
>"Shachar Shemesh" <wine-devel at sun.consumer.org.il> wrote:
>
> > So, what's the problem - you ask? While my view of what should happen is
> > obviously consistant with that of Wine's - i.e. - the locale should
> > select which menu to use, Windows displays the English locale ONLY. The
> > only way I could make it display the Hebrew one was by changing the
> > language on the English one to something else (French).
>
>I revived my old test for FindResource and now I see what are you talking 
>about.
>LoadStringA/W and FindResourceA/W under Win2000 do search for language 
>resource
>in the following order:
>1. Neutral language with neutral sublanguage
>2. LANG_ENGLISH, SUBLANG_DEFAULT
>3. LANG_ENGLISH, SUBLANG_NEUTRAL
>4. Current locale lang id
>5. Current locale lang id with neutral sublanguage
>6. Return first in the list
>
>But that means that the whole our internationalization will not work, if
>we will go that way. But the question I have is: had I made an error when
>I did the test under Win95OSR2 or MS has changed algorithm since then?
>
>--
>Dmitry.

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus




More information about the wine-devel mailing list