I have in my script stuff like this:
and also code like the following (needed for having the $LANGUAGE switch in onInit):
LangString AdminMsg ${LANG_ENGLISH} "You need to have full admin rights to install the product"
LangString AdminMsg ${LANG_FRENCH} "FRENCH -> You need to have full admin rights to install the product"
I was thinking of doing the following:
!define NEED_SPECIFIC_OS_AND_SP_LANG_ENGLISH "You need Windows 2000 SP3 and up"
!define NEED_SPECIFIC_OS_AND_SP_LANG_FRENCH "FRENCH -> You need Windows 2000 SP3 and up"
- have 2 files eg: my_english.nsh and my_french.nsh which will contain the above code
- include these 2 files in my script
- give the .nsh files out for translation
Questions:
1) Would this be a way of adding multi-language support to my script? Is there another recommended way?
2) What if one of the .nsh files contain a language that needs unicode? Do I need to do something special for those?
Thx,
Viv