copy different files for different languages
How can i copy different files for different languages in multilang installer?
Archive: copy different files for different languages
copy different files for different languages
How can i copy different files for different languages in multilang installer?
http://forums.winamp.com/showthread....ile+langstring
http://forums.winamp.com/showthread....ile+langstring
http://forums.winamp.com/showthread....=file+language
thanks! :)
I use this code to copy language file
;Core files
File /r "1\*.*"
;Language files
StrCmp $LANGUAGE ${LANG_ENGLISH} "" +3
File /r "3\*.*"
StrCmp $LANGUAGE ${LANG_RUSSIAN} "" +3
File /r "2\*.*"
StrCmp $LANGUAGE ${LANG_GERMAN} "" +3
File /r "4\*.*"
but it work only for english and russian
for english
"3\themes\dist.ru\config\configs.rc"
for russian
"2\themes\dist.ru\config\configs.rc"
for german
"4\themes\dist.ru\config\configs.rc"
german file installing to "$INSTDIR\dist.ru\config\configs.rc"
What i do wrong?
Don't use relative jumps, File /r will be converted to many File commands.
I use File /r because i need to place configs.rc to config dir.
Core files contains themes\dist.ru\config\ dir.
I'm saying that you should not use a relative jump, using File /r is okay.
Instead of:
StrCmp $LANGUAGE ${LANG_ENGLISH} "" +3
File /r "3\*.*"
use:
StrCmp $LANGUAGE ${LANG_ENGLISH} "" english_ready
File /r "3\*.*"
english_ready:
When is this enhancement being done, Joost?
Are you talking about "smart" relative jumps? I don't know when it will be ready.