PortableApps.com Platform and Suite 1.6 have been released.
ReadEnvStr $APPLANGUAGESubmitted by prapper on July 7, 2009 - 9:56pm
If I have a load of language files called... wouldn't it be better if I could just... ReadEnvStr $APPLANGUAGE "PortableApps.comName" instead of... ReadEnvStr $APPLANGUAGE "PortableApps.comLocaleglibc" followed by all the StrCmp $APPLANGUAGE "fr" StrCpy $APPLANGUAGE "French" etc. ? ( categories: )
|


PortableApps.comLocaleWinName
You might like to try the environment variable PortableApps.comLocaleWinName. This produces things like LANG_ENGLISH, LANG_PORTUGUESE.
$APPLANGUAGE will be e.g. ENGLISH, PORTUGUESE. If you find any instances where the PortableApps.comLocaleWinName is different, then you can do a StrCmp/StrCpy thing. Try LogicLib though, it's much easier:
${IfThen} $APPLANGUAGE == SPANISHINTERNATIONAL ${|} StrCpy $APPLANGUAGE Spanish ${|}I am a Christian and a developer and moderator here.
“It is in vain that you rise up early and go late to rest, eating the bread of anxious toil; for he gives to his beloved sleep.” – Solomon, Psalm 127:2
Thanks Chris, very helpful.
Thanks Chris, very helpful.