If I install a german language module with Pelles C poide comes in german (not in english) without any /l switch. If I install Pelles C without the german language module poide comes in english.
Now the simple question: Where is the default language stored?
Maybe it is not stored at all. My speculation: first use appropriate language if /l switch is used and matching dll is installed. Second use system language if matching dll is installed.
Third (fall back) use english.
Quote from: czerny on June 04, 2012, 12:27:50 AM
If I install a german language module with Pelles C poide comes in german (not in english) without any /l switch. If I install Pelles C without the german language module poide comes in english.
Now the simple question: Where is the default language stored?
Maybe it is not stored at all. My speculation: first use appropriate language if /l switch is used and matching dll is installed. Second use system language if matching dll is installed.
Third (fall back) use english.
The languages reside in
PellesC\bin\Intl in dlls named for the code pages they represent ... rsrc*.dll rsrc009.dll is for english.
If the /l switch is not specified, the one matching the user's system codepage is loaded when POIDE starts up with a fallback to English if there's no match.
These are resource only DLLs, holding string tables, dialogs etc, that you can open in poide and examine their contents....
More information here...
http://msdn.microsoft.com/en-us/library/windows/desktop/dd318661(v=vs.85).aspx (http://msdn.microsoft.com/en-us/library/windows/desktop/dd318661(v=vs.85).aspx)
In my case if /l option is not used poide.exe (english setup) searches in this order:
intl\rsrc040b.dll
intl\rsrc000b.dll
intl\rsrc0009.dll
That first one is found with function GetUserDefaultLangID() as help file says.
I use(d) the Pelles C in german on a german Windows XP (with english XP with german language pack), (Vista) and Windows 7. The only thing I must do, is to use /l 9, when I need the original english texts for commants in the forum. ;)