Usage Note 54836: How to control the user interface language setting for a Java based SAS® client
In Java based SAS® clients, the default language displayed for the user interface is determined by the operating system locale settings of the individual client machine. You can override this setting by adding two arguments to the application-name.ini file.
Example: The locale setting on your client machine is English, US, but you want the SAS client interface to be displayed in French. You would modify the application-name.ini file as follows:
- Access the application-name.ini file on your client machine. The application-name.ini file is typically located here on each client machine:
C:\Program Files\SASHome\Application Name\Version
- Open the application-name.ini file using a standard text editor, such as Notepad, WordPad, or TextPad. Near the middle of this file, you should see entries similar to the following:
JavaArgs_1=-Xmx1024m
JavaArgs_2=-XX:MaxPermSize=128m
JavaArgs_3=-Djava.security.policy="Config\security\java.policy"
JavaArgs_4=-Djava.security.auth.login.config="Config\security\login.config"
JavaArgs_5=-Dcache.auth.policy=true
JavaArgs_6=-Dsas.app.splash.path=splash.gif
JavaArgs_7=-Dlog4j.configuration="file:\C:\Program Files\SASHome\SASManagementConsole\9.4\log4j.properties"
JavaArgs_8=-Dsas.services.information.types.path="C:\Program Files\SASHome\SASPlatformObjectFramework\9.4\plugins"
JavaArgs_9=-Dsas.deployment.agent.client.config="${home_deployagtclt}\deployagtclt.properties"
JavaArgs_10=-Djava.system.class.loader=com.sas.app.AppClassLoader
JavaArgs_11=-Dsas.ext.config="<SASHOME>\sas.java.ext.config"
JavaArgs_12=-Dsas.app.launch.config=picklist
JavaArgs_13=-Dsas.app.repository.path="<VJRHOME>\eclipse"
JavaArgs_14=-Dsas.app.class.path=.;"C:\Program Files\SASHome\SASManagementConsole\9.4\build"
JavaArgs_15=-Dsas.app.launch.picklist=picklist;"help\primary.picklist"
JavaArgs_16=
- To modify the language displayed in your Java based SAS client, add the following argument to the end of these entries:
JavaArgs_##=-Duser.language=xx
JavaArgs_##=-Duser.country=yy
In the example above, xx represents the 2-character language code, yy represents the 2-character country code, and ## is a continuation of the line numbering of the lines above. If the last JavaArgs statement is blank (as in the example shown in Step 2), start by using that line.
Example: The operating system locale setting on your client machine is set to English, US, but you would like the Java based SAS client interface to be displayed in French. You would add the following entries:
JavaArgs_16=-Duser.language=fr
JavaArgs_17=-Duser.country=FR
Then, the modified JavaArgs block would look similar to this:
JavaArgs_1=-Xmx1024m
JavaArgs_2=-XX:MaxPermSize=128m
JavaArgs_3=-Djava.security.policy="Config\security\java.policy"
JavaArgs_4=-Djava.security.auth.login.config="Config\security\login.config"
JavaArgs_5=-Dcache.auth.policy=true
JavaArgs_6=-Dsas.app.splash.path=splash.gif
JavaArgs_7=-Dlog4j.configuration="file:\C:\Program Files\SASHome\SASManagementConsole\9.4\log4j.properties"
JavaArgs_8=-Dsas.services.information.types.path="C:\Program Files\SASHome\SASPlatformObjectFramework\9.4\plugins"
JavaArgs_9=-Dsas.deployment.agent.client.config="${home_deployagtclt}\deployagtclt.properties"
JavaArgs_10=-Djava.system.class.loader=com.sas.app.AppClassLoader
JavaArgs_11=-Dsas.ext.config="<SASHOME>\sas.java.ext.config"
JavaArgs_12=-Dsas.app.launch.config=picklist
JavaArgs_13=-Dsas.app.repository.path="<VJRHOME>\eclipse"
JavaArgs_14=-Dsas.app.class.path=.;"C:\Program Files\SASHome\SASManagementConsole\9.4\build"
JavaArgs_15=-Dsas.app.launch.picklist=picklist;"help\primary.picklist"
JavaArgs_16=-Duser.language=fr
JavaArgs_17=-Duser.country=FR
Operating System and Release Information
| SAS System | N/A | Microsoft Windows Server 2003 for x64 | 9.3 TS1M0 | |
| Microsoft Windows Server 2008 for x64 | 9.3 TS1M0 | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.3 TS1M0 | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.3 TS1M0 | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.3 TS1M0 | |
| Microsoft Windows XP 64-bit Edition | 9.3 TS1M0 | |
| Microsoft® Windows® for x64 | 9.3 TS1M0 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.3 TS1M0 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.3 TS1M0 | |
| Microsoft Windows Server 2003 Standard Edition | 9.3 TS1M0 | |
| Microsoft Windows Server 2008 | 9.3 TS1M0 | |
| Microsoft Windows Server 2008 R2 | 9.3 TS1M0 | |
| Microsoft Windows XP Professional | 9.3 TS1M0 | |
| Windows 7 Enterprise 32 bit | 9.3 TS1M0 | |
| Windows 7 Enterprise x64 | 9.3 TS1M0 | |
| Windows 7 Home Premium 32 bit | 9.3 TS1M0 | |
| Windows 7 Home Premium x64 | 9.3 TS1M0 | |
| Windows 7 Professional 32 bit | 9.3 TS1M0 | |
| Windows 7 Professional x64 | 9.3 TS1M0 | |
| Windows 7 Ultimate 32 bit | 9.3 TS1M0 | |
| Windows 7 Ultimate x64 | 9.3 TS1M0 | |
| Windows Vista | 9.3 TS1M0 | |
| Windows Vista for x64 | 9.3 TS1M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Date Modified: | 2015-07-21 16:21:07 |
| Date Created: | 2014-12-12 07:21:17 |