New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binding of MBApreq language + UserLanguageID to "currentCulture" instead of "currentUiCultureInfo" #4499
Comments
Burn uses the user language (via GetUserDefaultLangID) and falls back to system language (via GetSystemDefaultUILanguage). This is the best way we came up with to continue to support XP and Server 2003. I'll open this bug in v3.x series to see if we can come up with a better way, perhaps using the loc support in Vista and later to better choose user language(s).
|
Doing a lot of binging, it appears that .Net sets CurrentCulture (possibly using GetUserDefaultLangID) and CurrentUICulture (possibly using GetSystemDefaultLangID, which is elsewhere described as "the
|
I believe I found the correct API to use: GetUserDefaultUILanguage (see http://web.archive.org/web/20130701052031/http://blogs.msdn.com/b/michkap/archive/2005/02/01/364707.aspx) which already does the fallback across system setting/install OS value.
|
See the table on this page
|
|
When testing a Bootstrapper on an W7 EN with installed language packs we figured out that UserLanguageID + the language in which the MBApreqInstaller occurs are set to "CurrentCulture" ( http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.currentculture.aspx). So here the value / the shown MBAPrep UI language changes when changing the Format (Date and Time) but not the Display Language ("CurrentUICulture").
Normally CurrentUICulture = CurrentCulture but in our case not... IMHO binding to CurrentUICulture seems to make more sense here.
The MBApreq UI language selection was set already to CurrentUICulture in WiX 3.6 but seemed to change in the meanwhile...
The text was updated successfully, but these errors were encountered: