Thomas Larsen wrote:
Language Support And Use in Reactos
Idea: Split the files by using config and only include whats needed by dev and end user goal: Saves time in compiling and get smaller fil sizes.
Resource files usually compile pretty fast and are usually not that big unless they contain large bitmaps.
If not done imagine 256 languages in each file getting included then we would get pretty large files just see shell32.dll and its a waste both for the end users and us it takes a while extra to include all those extra langs
I wouldn't consider it as a waste of space, applications that use other locales then work correctly and dialogs etc work in all the same language. It's been bugging me that for instance german applications that run on an english system are completely german except the message box buttons, common controls, ....
The Config File i Reactos Root path # Which default language would you like to use # Select Between: English:En, Danish:Dk, France:Fr etc. DEFAULTOSLANG=Dk
The Ressource.rc file in each paths #if DEFAULTLANG #include %DEFAULTLANG%.rc // Need to test if exist if not include en.rc a littel app could check for this it would be pretty fast else include english res #else #include "En.rc" #endif
Just an idea.. Thomas
Specifying a default language is indeed good, however I don't think it's good to compile just with this chosen language. But that's just my personal opinion.
Best Regards, Thomas