Joel
27th June 2003 18:21 UTC
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
27th June 2003 20:11 UTC
Seems right. What doesn't work with it? Have you called TransSTr in .onInit?
Joel
27th June 2003 20:33 UTC
Yes, But I'll use $LANGUAGE to wite into the INI
kichik
27th June 2003 20:44 UTC
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.