Language selector option not available

Got a problem you cannot solve? Try here.
andrejzr
Posts: 68
Joined: Sun Jun 25, 2006 9:17 am

Language selector option not available

Postby andrejzr » Wed Aug 16, 2006 7:26 am

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.

andrejzr
Posts: 68
Joined: Sun Jun 25, 2006 9:17 am

Postby andrejzr » Wed Aug 16, 2006 8:38 am

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.

NickDay
Posts: 145
Joined: Tue Oct 05, 2010 9:13 am

Re: Language selector option not available

Postby NickDay » Tue May 14, 2013 6:19 am

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?

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Language selector option not available

Postby FrancescoT » Tue May 14, 2013 8:15 am

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=6772

Regards.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

NickDay
Posts: 145
Joined: Tue Oct 05, 2010 9:13 am

Re: Language selector option not available

Postby NickDay » Tue May 14, 2013 8:36 am

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

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Language selector option not available

Postby FrancescoT » Tue May 14, 2013 11:08 am

Dear Nick,

Let me try and I'll be back.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

NickDay
Posts: 145
Joined: Tue Oct 05, 2010 9:13 am

Re: Language selector option not available

Postby NickDay » Thu Nov 26, 2015 10:26 am

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

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Language selector option not available

Postby FrancescoT » Thu Nov 26, 2015 1:42 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

NickDay
Posts: 145
Joined: Tue Oct 05, 2010 9:13 am

Re: Language selector option not available

Postby NickDay » Fri Nov 27, 2015 10:00 am

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

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Language selector option not available

Postby FrancescoT » Fri Nov 27, 2015 11:27 am

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

NickDay
Posts: 145
Joined: Tue Oct 05, 2010 9:13 am

Re: Language selector option not available

Postby NickDay » Fri Nov 27, 2015 12:58 pm

Interesting, thanks Francesco.

hkeller
Posts: 11
Joined: Fri Oct 09, 2015 10:33 am

Re: Language selector option not available

Postby hkeller » Mon Nov 14, 2016 3:23 pm

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 47 guests