Old 24th September 2008, 15:34   #1
XRaptor
Junior Member
 
Join Date: Sep 2008
Posts: 5
Question Language specific files

Hi all,
I need to create multilanguage installer. I have some files that depends on selected language and some that are same for all languages (must be installed always). Is there any way how to create this?

Thnx for any help
XRaptor is offline   Reply With Quote
Old 24th September 2008, 16:24   #2
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
you can query $LANGUAGE and do operations depending of its value
Yathosho is offline   Reply With Quote
Old 26th September 2008, 06:37   #3
XRaptor
Junior Member
 
Join Date: Sep 2008
Posts: 5
Yes, it is possible, but is there any automatic way? Like using LangString.

And I thinking about using language specific sections. User will select language and only section for this language is displayed.
XRaptor is offline   Reply With Quote
Old 26th September 2008, 07:39   #4
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
i guess automatic will be difficult, as i'm not sure what's the best way to determine a user's language. take me, i'm using an english os with german keyboard and austro-german language settings.
Yathosho is offline   Reply With Quote
Old 26th September 2008, 08:56   #5
XRaptor
Junior Member
 
Join Date: Sep 2008
Posts: 5
You are selecting language when installer is starting. All other things will be related to this selected language.
XRaptor is offline   Reply With Quote
Old 26th September 2008, 09:29   #6
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
when the user has to choose the language on startup, use the method i described in my first reply!
code:
${If} $LANGUAGE == "1033"
File "English.exe"
File "English.txt"
${ElseIf} $LANGUAGE == "1036"
File "French.exe"
File "French.txt"
# and so forth
${EndIf}

Yathosho is offline   Reply With Quote
Old 29th September 2008, 08:28   #7
XRaptor
Junior Member
 
Join Date: Sep 2008
Posts: 5
Oki, thnx for help
XRaptor is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump