I have localized my installation for Spanish speakers and when my installer is run on a Spanish OS, the "Select Setup Language" is displayed in Spanish, but the list of selectable languages are still in English.
Is there a way to localize the language names in the "Select Setup Language" list box?
Need to localize languages in the Select Language list box
-
- Posts: 76
- Joined: Wed Sep 12, 2007 3:34 pm
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
If you need to customize that list, you can just build your own custom dialog and hide the built-in language selector dialog. The LANGUAGE pre-defined variable, when set from script, changes the language - the same effect as the built-in language selector dialog has. So feel free to customize as necessary.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 76
- Joined: Wed Sep 12, 2007 3:34 pm
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
That's not how the system is designed to work. You won't get anywhere down that road. The proper way is to use my suggestion, which is to build your own custom dialog, and override LANGUAGE from that - rather than showing the built-in dialog and trying to hack it.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 76
- Joined: Wed Sep 12, 2007 3:34 pm
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Before showing the custom dialog, you can pre-set the LANGUAGE variable to any value you like, based on what language the operating system is currently operating at.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Re: Need to localize languages in the Select Language list b
I am using trying to use technique of a custom language selection dialog. I created a drop down list that contains the language selections. The dialog returns the selected language text. Is there a way for the dialog to return a code instead of the language text. For example the local ID of the language instead of the text.
The issue is that the text for each language will be different for each of the translated languages.
The issue is that the text for each language will be different for each of the translated languages.
Re: Need to localize languages in the Select Language list b
AFAIK the returning text can be edited in the localized .txt files.
Re: Need to localize languages in the Select Language list b
That is what I am doing now. It just means that the text returned is different for every language. For example the English installer displays English as English. But the French version displays (and returns) English as Anglais. It would be nice to have a value returned that does not change with language.
Re: Need to localize languages in the Select Language list b
That is what I also do not understand. Why are Variables localized in IA?
Re: Need to localize languages in the Select Language list b
I would like to see an example of what's being talked about.
I tried to create a sample project to test what's being claimed, but couldn't seem to get variables with different values as described.
Perhaps you can take a look at my sample and edit it to exhibit these translated variables.
I tried to create a sample project to test what's being claimed, but couldn't seem to get variables with different values as described.
Perhaps you can take a look at my sample and edit it to exhibit these translated variables.
- Attachments
-
- Localized.7z
- (386.81 KiB) Downloaded 441 times
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Re: Need to localize languages in the Select Language list b
What I mean is that variables appear in the localization txt files. IMHO this is not necessary and could cause errors if you give the text files to a translation office. Because also variables like "TRUE", "FALSE" and Language Identifiers will be translated and setup will not work because maybe the check uses a translated string but the set variable was not translated or the other way round.
For instance in InstallShield there are no variables translated.
My wish for next version would be IA with the translation system from InstallShield, because this was much more easy to handle.
For instance in InstallShield there are no variables translated.
My wish for next version would be IA with the translation system from InstallShield, because this was much more easy to handle.
Who is online
Users browsing this forum: No registered users and 6 guests