Skip to content
⌘ NSIS Forum Archive

Install Options and the language

4 posts

Joel#

Install Options and the language

How can I change the strings of the IO *.ini (Text=??)
depending of the user language selection?

I try this and it didn't work?

LangString IOh ${LANG_SPANISH} "Elije accesos directos para ${MUI_PRODUCT}"
LangString IOh ${LANG_ENGLISH} "Additional tasks for ${MUI_PRODUCT} ${MUI_VERSION}"

Function "TransSTr"
WriteIniStr $PLUGINSDIR\io.ini "Field 1" Text $(IOh)
FunctionEnd
kichik#
I assume you're talking about my .onInit question. I was asking this to make sure you didn't make the same mistake again.

But you haven't yet answered the more important question which is what doesn't work with it? Does it show the text but from another language? Is the text empty? etc.