Menu

#246 Variable to get language *name*

closed
Scripting (152)
5
2007-04-14
2005-07-10
Anonymous
No

Currently, $LANGUAGE contains the chosen language id,
e.g., "1033" for English. However, what if we want to
use the Language's actual name, in this case "English"?
I see no possibility of currently doing that! (using
NSIS and MUI)

The reason I want to do that is that I want to pass the
name of the language to the program I'm installing, to
set its default language as well.

One possible implementation is to create a new
langstring, say $(LANGUAGE_NAME), which will evaluate
to the actual name of the current language.

Another possibility is to define variables like
${LANGNAME_1033}, and so we can use something like
${LANGNAME_${LANGUAGE}}.

Nadav Har'El
nyh@math.technion.ac.il

Discussion

  • Amir Szekely

    Amir Szekely - 2007-04-14
    • labels: --> Scripting
    • assigned_to: nobody --> kichik
    • status: open --> closed
     
  • Amir Szekely

    Amir Szekely - 2007-04-14

    Logged In: YES
    user_id=584402
    Originator: NO

    Thanks, added $(^Language).

     

Log in to post a comment.