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@baikal.ru "Shachar Shemesh" wine-devel@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:
- Neutral language with neutral sublanguage
- LANG_ENGLISH, SUBLANG_DEFAULT
- LANG_ENGLISH, SUBLANG_NEUTRAL
- Current locale lang id
- Current locale lang id with neutral sublanguage
- 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