I am making an installer which, as well as showing the normal 'Select the language to use during the installation:' selection dialog, also needs to ask it again, showing that time a limited sub-set of those languages. And that inside a custom page.
i.e., our application has a product user-manual, but the available languages for the manual are only english, german, spanish (which is different from the application itself, which is fully translated for many more languages).
So I figured I need to make a combobox inside that custom page, and fill it with those languages I know are supported for that particular function, so that the user can choose which language of user-manual to install with the product.
I know I can get the 'code' of the selected language via:
ExpandConstant('{language}')
However, is it possible to:
given a particular language code, return the 'LanguageName' for that language?
Return the LanguageName for the selected language?
i.e., instead of 'en' I want 'English'.
and instead of having to manually fill my combo box with :
'English'
'Deutch'
'Espanol'
I want to do something like
ExpandConstant('{en.LanguageName}')
ExpandConstant('{de.LanguageName}')
ExpandConstant('{es.LanguageName}')
Does any such method or 'expandable constant' exist that might suit my needs?
thanks in advance