PDA

View Full Version : Does bootstrapper support localization?



AnimeNewbie
11-23-2009, 10:57 PM
Hi guys, my company has just approved the purchase of MSI factory. I have 2 more questions to ask.

Does the MSI Factory bootstrapper support localization, especially Chinese language? And can it be scripted to dynamically select the UI language based on the language of the Windows OS?

Thanks in advance!

And have a nice day!

Ulrich
11-24-2009, 06:52 AM
Hello,

typically a bootstrapper would not show any user interface at all. However, you can detect the locale using the Lua action System.GetDefaultLangID(). Once you know the language, you can start the correspondent MSI.

You may also wish to check the "support multiple languages" tutorial in the help file.

Regards,
Ulrich

AnimeNewbie
01-06-2010, 07:29 PM
Hi Ulrich,

I found that there is an language tab for me to choose the language in the bootstrapper designer. Currently, only English is supported. Is there any way for me to get the English strings and get them translated to Chinese and then add the Chinese strings to the bootstrapper designer?

Thanks!! :)

Ulrich
01-11-2010, 01:35 PM
Hi Ulrich,

I found that there is an language tab for me to choose the language in the bootstrapper designer. Currently, only English is supported. Is there any way for me to get the English strings and get them translated to Chinese and then add the Chinese strings to the bootstrapper designer?

Thanks!! :)

Hello,

try this: on the Language tab of the Bootstrapper Designer, go to Messages and click the Add button. Include the messages for Chinese, setting the Id to "Chinese", and the Filename to the XML file that was already provided with MSI Factory.


http://www.mindquake.com.br/files/msi/SNAG-100111-04.png

Now include Chinese in the list of supported languages of your bootstrapper:


http://www.mindquake.com.br/files/msi/SNAG-100111-05.png

Now please rebuild your bootstrapper and see if you can see the Chinese messages when running the project on a operating system with the same language id as used in your test.

Ulrich

AnimeNewbie
01-31-2010, 08:03 PM
Hi Ulrich,

Thank you very much for the detailed instructions and screenshots for the Chinese bootstrapper. I have followed your instructions and also removed the English language option, leaving only the Chinese language option. But some of the strings are still in English. For instance, the 2 strings shown below.

"Technology Required"
"Setup has detected that your Microsoft .NET run-time files are out of date. Click OK to install this technology now or Cancel to abort the setup."

I cannot seem to find these 2 strings in the English.xml in folder("C:\Program Files\MSI Factory Trial\Bootstrap\Data\Languages").

Please kindly advise.

Thank you in advance!