Help - Search - Members - Calendar
Full Version: [FIXED in 6.4.1]Problem in Localization with Options WIzard (V 6.4)
MSFN Forums > Member Contributed Projects > Windows Post-Install Wizard (WPI)

   
Google Internet Forums Unattended CD/DVD Guide
t4user
EDIT Bug Fixed ! dowload release 6.4.1
Hello,

In this post http://www.msfn.org/board/55-bugs-t84270.h...964#entry570964

Dynaletic writes for version 5.5 :
QUOTE
It isn't a real bug, but I think it wasn't there in WPI 5.4. If you choose another language than english (or autoselect) and open the optionstab, everything is displayed in the right language. If you now directly open the config screen, everything is english. If you close the optionsscreen before opening config screen, the config screen is displayed in the right language.

and also the tooltips are in english when Options Wizard is open.

In Version 6.4, the same behavior also appears. I think it's a side effect : optionswizard.js use the global variable "Language" defined in globals.js sad.gif

CODE
function OptionsDefaults()
{
position="optionswizard.js";
whatfunc="OptionsDefaults()";

//
// System predefined options
//
// Interface tab
Language='zz';

May be wpi.hta don't find lang_zz when it's display Optiions Wizard layer and fall on lang_en ?
With Language as local variable in function OptionsDefault() everything is Ok. smile.gif

CODE
//
// System predefined options
//
// Interface tab
    var Language='zz';


Regards
Kelsenellenelvian
Hmmm I don't get the proposed fix here?

Please elaborate just a bit more.
Kelsenellenelvian
Aha ok I get it! You say we needed to add "var" to it.

Too little sleep.
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.