Archive: Install Options and the language


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

Seems right. What doesn't work with it? Have you called TransSTr in .onInit?


Yes, But I'll use $LANGUAGE to wite into the INI


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.