Secure Global Desktop Administration Guide > Users and authentication > Working with users in different locales
When you install Secure Global Desktop, the default language used for the browser-based webtop, the Sun Secure Global Desktop Client and for login scripts is English. Secure Global Desktop Administrators can configure Secure Global Desktop to add support for users in different locales.
Note The classic webtop is only available in English. The Preferred Locale attribute for person objects has no effect on the language used for the browser-based webtop.
By default, the Secure Global Desktop Web Server Welcome page at http://server.example.com
displays in English.
To change the default language of the Welcome page, amend the symbolic link /opt/tarantella/webserver/apache/<version>/htdocs/index.html
so that it links to another index page in this directory. For example to make the default Welcome page display in Japanese, link to the index_ja.html
page.
When users log in using a web browser at the http://server.example.com/sgd
URL, the default language used for messages displayed by the login dialog and the webtop is controlled by the m_defaultLang = "en";
line in the following files:
/opt/tarantella/webserver/tomcat/<version>/webapps/sgd/resources/jsp/localeutils.jsp
/opt/tarantella/webserver/tomcat/<version>/webapps/sgd/index.jsp
To change the default language, edit this line and replace "en"
with the language identifier for one of the following supported languages:
Language | Identifier |
---|---|
English | en |
French | fr |
Japanese | ja |
Korean | ko |
Simplified Chinese | zh_CN |
Traditional Chinese | zh_TW |
The default language is also controlled by the Preferred Language in the user's profile. Whenever the Secure Global Desktop Client is started from the command line (for example when the Secure Global Desktop Client is in integrated mode), the language specified in the profile is used for messages displayed by the Secure Global Desktop Client, the login dialog, and the webtop. Secure Global Desktop Administrators can set the default language by editing the profiles in their organizational hierarchy.
Note To be able to display text for a locale, users must also have appropriate fonts installed on their client device.
Users can override the default language as follows:
http://server.example.com
), click one of the "flags" at the top of the page to select a preferred language and then click Log in to access a webtop in that language.http://server.example.com/sgd/index.jsp?langSelected=lang
where lang
is one of the
language identifiers listed in the table above. Users can manually type this URL in their web browser, or it can be specified as the Login URL in the profile.-preferredlanguage lang
command line argument to set the language, where lang
is one of the language identifiers listed in the table above. This argument can used in shortcuts and shell scripts. &By default, the login scripts supplied with Secure Global Desktop, support system prompts in English. Administrators can add support for system prompts in other languages as follows:
vars.exp
login script and add a translation for each of the English prompts defined. You do not need to translate every prompt, only the prompts that are different to the English ones. The file contains examples to help you get started. You can also provide translations for the variables, strings and error message section to match the client/user locale.vars.exp
.Copyright © 1997-2006 Sun Microsystems, Inc. All rights reserved.