Page 1 of 1
Language selector option not available
Posted: Wed Aug 16, 2006 7:26 am
by andrejzr
Hello,
I am preparing my installation for multilingual use, and got stuck on a simple issue: I can't get the option "Display language selector" to be shown in my project options.
It must have something to do with my project, since opening the sample "Multi Lingual", shows this option correctly.
I already used the Localization Wizard to export and then back import the translations for multiple languages. The files Translations.* were added to the project, together with translations.Map and the project.mtx file.
I already tried to search the forum for information, and got several answers already to the translation process, which is great. Do you have any hint, how to get to the language selector?
Thanks
Andrej.
Posted: Wed Aug 16, 2006 8:38 am
by andrejzr
I have some more additional information, after I compared the sample multilingual project and mine.
The difference was in the name of the MPR file compared to the name of the Product (set in the Options dialog). My project did not use the same name. After I renamed the MTX file to the same name as the MPR file was named, I was able to choose language selector.
When I created the distribution, the language selector was not displayed. Then I changed the product name to the name of the MPR file, this made it all work.
Do you know, if I am doing something wrong? It seems to me, that for multilingual installation the project file name (MPR) and the Product Name would need to be the same.
Re: Language selector option not available
Posted: Tue May 14, 2013 6:19 am
by NickDay
I find the same thing in InstallAware 12. I tried your workaround and the language selector checkbox appeared. Great. However this setting (and the default language setting) were not applied when the installer was run -- so I still could not pick a language, or build an installer in a language other than English.
To overcome the problem I changed the filenames of the components of my project (.mpr, .mtx etc.) to use the new project name, and edited the .mpr to use this where the old name was referred to (two or more places). That seems to work OK so far.
I am interested on InstallAware's opinion on this; is there a better workaround?
Also, one of my projects, IIRC, sets the product name dynamically (for building for different OEMs). My guess is the workaround won't work for that; what should I do?
Re: Language selector option not available
Posted: Tue May 14, 2013 8:15 am
by FrancescoT
Dear ,
honestly, I don't understand the approach you are using to have the multi-language dialog to be displayed (... furthermore this starting topic seems to be dated).
Could you please verify if you followed the steps described with: "How to use InstallAware Translation Tool" document available with the following link?
http://www.installaware.com/forum/viewtopic.php?f=2&t=6772Regards.
Re: Language selector option not available
Posted: Tue May 14, 2013 8:36 am
by NickDay
Thank you very much for the quick reply Francesco.
Yes, I did follow those instructions. In fact I was following the steps in the InstallAware user guide, 'Localization Wizard' section.
If you wish to try and reproduce the problem I had, try this in IA12:
Make a new installer using the Quick Start.
** In the project settings, change the "Product Name". **
'Localize' and export your strings.
Translate your strings (using the auto-translation, say to French).
Import strings (say, English and French).
Look in the project settings, the 'Display language selector' is expected but does not appear.
If you repeat this, omitting the highlighted line above, you will get the 'Display language selector'.
I tried to work around as suggested in this thread, and although the 'Display language selector' option was present, its setting was ignored.
The only way I could get it to work was by thoroughly renaming the project files as I described.
If that is not clear or you can't reproduce the problem, please let me know.
Thanks,
Nick
Re: Language selector option not available
Posted: Tue May 14, 2013 11:08 am
by FrancescoT
Dear Nick,
Let me try and I'll be back.
Regards
Re: Language selector option not available
Posted: Thu Nov 26, 2015 10:26 am
by NickDay
HI Francesco,
I don't know whether you tried this yourself (such a simple procedure I'd be surprised it you did not see the same problem as I did, in InstallAware12).
I have just had the same problem in an installer where I display my own customised language selection dialog, and then set up the LANGUAGE variable based on the user choice.
I found that if I
Set Variable LANGUAGE to German
and then display $LANGUAGE$ in a message dialog, it is empty.
I have another installer project where this does work; the difference is that the name of the project matches the names of the project files as mentioned above.
Nick
Re: Language selector option not available
Posted: Thu Nov 26, 2015 1:42 pm
by FrancescoT
Dear Nick,
in all honesty I am not able to replicate the same.
Have you updated the resource strings included with the project (Localize -> Export /Import)?
Regards
Re: Language selector option not available
Posted: Fri Nov 27, 2015 10:00 am
by NickDay
Hi Francesco,
I was referring to my procedure above,
Make a new installer using the Quick Start.
** In the project settings, change the "Product Name". **
'Localize' and export your strings.
Translate your strings (using the auto-translation, say to French).
Import strings (say, English and French).
Look in the project settings, the 'Display language selector' is expected but does not appear.
If you repeat this, omitting the highlighted line above, you will get the 'Display language selector'.
So yes, I did localize->export/import, unless I misunderstood your question.
Best regards,
Nick
Re: Language selector option not available
Posted: Fri Nov 27, 2015 11:27 am
by FrancescoT
Dear Nick,
I am very sorry, but I can only confirm that I am not able to replicate what you reported.
In my case, the 'Display language selector' becomes available just after the Import strings process.
Regards
Re: Language selector option not available
Posted: Fri Nov 27, 2015 12:58 pm
by NickDay
Interesting, thanks Francesco.
Re: Language selector option not available
Posted: Mon Nov 14, 2016 3:23 pm
by hkeller
Hi Nick,
I am wondering if you ever found a way around the renaming issue? I am running into the same issue as well.
Thanks,
Hannah