what is the best solution/architecture for implementing localization in an application written in unmanaged C ?
Should I use MUI, something based on boost::locale or something very classic (I will post this below as first response). Or maybe something else… setlocale seems too simple.
Can I change language at runtime ? I didn’t see any application to do so.
PS: If matters I want to target Windows Xp
Regards
The standard approach seems to be: One directory for each language that will contain module localizations (dlls containing text and images). Most probably one for each module in application and will contain only resources.
Application will set this module as default (using AfxSetResourceHandle or something equivalent) and will redirect all LoadString calls to this module.
One problem in this approach is that resources will be once in the module and once again (translated) in localization module.