Language Configuration
If you want to provide a selection of languages on the login screen you need to configure the following.
Main Language
By default the application’s language (messages, GUI texts) and international settings (number and date formats) are set by the language of the server’s operating system.
In order to set a desired language settings you need to modify the web.config.
<configuration>
<system.web>
<globalization culture="en-US" uiCulture="en-US" />
</system.web>
</configuration>
culture | Defines date and number format |
---|---|
uiCulture | Defines GUI language and message translations |
Supported Languages | The languages currently supported by ORIGAM GUI are:
|
Multiple Languages
It is also possible to let user choose his own language on the login screen.
The language selection appears under the LOGIN button only if more than 1 language is configured.
Web.Config
First declare the language.config in your web.config.
<configuration>
<configSections>
...
<section name="languageSettings" type="System.Configuration.NameValueFileSectionHandler, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</configSections>
<languageSettings file="language.config" />
...
</configuration>
Language.config
In the language.config you can define multiple languages. They will be displayed on the login page in the same order.
<languageSettings>
<add key="cs-CZ" value="ÄŚesky"/>
<add key="en-US" value="English"/>
<add key="de-DE" value="Deutsch"/>
<add key="de-CH" value="Deutsch (Schweiz)"/>
</languageSettings>