From: greatlrd@svn.reactos.org
Log: if u update En.rc please update all other langues files, use the english text if no translatesion is not availbal, other wise it will bsd in windows or in reactos and we get diffent functions on each langues. DO NOT DO THIS MISTAKE
The resource loader will load the English text if the text is not available in the selected language (at least that's what is supposed to happen, if it doesn't there's a bug in the resource loader).
GvG
Hi GvG We take a example now lest say we have a swedish.rc but it missing some text against english rc swedish version of windows will not select any text in the english rc. It only take the swe .rc file. and bsod or igonore print out it. It have happen for me in windows. with swedish version.
----- Original Message ----- From: "Ge van Geldorp" gvg@reactos.org To: ros-dev@reactos.org Sent: Monday, May 08, 2006 8:51 AM Subject: [ros-dev] RE: [greatlrd] 21849: if u update En.rc please update allother langues files,use the english text if no translatesion is not availbal,other wise it will bsd in windows or in reactos and we get diffentfunctions on each langues. DO NOT DO T
From: greatlrd@svn.reactos.org
Log: if u update En.rc please update all other langues files, use the english text if no translatesion is not availbal, other wise it will bsd in windows or in reactos and we get diffent functions on each langues. DO NOT DO THIS MISTAKE
The resource loader will load the English text if the text is not
available in the selected language (at least that's what is supposed to happen, if it doesn't there's a bug in the resource loader).
GvG
Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev
From: Magnus Olsen
lest say we have a swedish.rc but it missing some text against english rc swedish version of windows will not select any text in the english rc. It only take the swe .rc file. and bsod or igonore print out it. It have happen for me in windows. with swedish version.
I don't know how Windows handles it, I do know how ReactOS handles it though. Check reactos/dll/ntdll/rtl/libsupp.c function find_entry. It searches the resources using a number of languages:
1. Specified (by caller) language/sublanguage 2. Specified (by caller) language/neutral sublanguage 3. Neutral language/neutral sublanguage 4. Current thread locale language 5. User locale language 6. User locale language with neutral sublanguage 7. System locale language 8. System locale language with neutral sublanguage 9. English.
So in the end, ReactOS WILL find the English resource. If not, it's a bug. As Martin pointed out, the only exception is with string resources.
GvG