Starting a Session in a Language Other than English on UNIX

This task explains how to start Version 5 in a language other than English on UNIX.

 

Locales for which Version 5 delivers user interface files

Installing Version 5 directly installs the user interface files (message catalogs) for the following languages:

  • English (default language)
  • French
  • German
  • Japanese
  • Korean
  • Simplified Chinese
  • Italian.

The user interface files for these languages are already translated for you. If you install in the default installation directory:

/usr/DassaultSystemes/B18/OS/

where "OS" is:
aix_a
hpux_b
solaris_a

the following default environment is set up:

/usr/DassaultSystemes/B18/OS/resources/msgcatalog (containing the English files)
/usr/DassaultSystemes/B18/OS/resources/msgcatalog/French
/usr/DassaultSystemes/B18/OS/resources/msgcatalog/German
/usr/DassaultSystemes/B18/OS/resources/msgcatalog/Japanese
/usr/DassaultSystemes/B18/OS/resources/msgcatalog/Korean
/usr/DassaultSystemes/B18/OS/resources/msgcatalog/Simplified_Chinese
/usr/DassaultSystemes/B18/OS/resources/msgcatalog/Italian

This default environment (/usr/DassaultSystemes/B18/OS/resources/msgcatalog) is pointed to by the environment variable: CATMsgCatalogPath.

 

Translating user interface files

You can translate user interface files in a language for which Version 5 does not deliver user interface files. For example, you can do the following:

  1. Open the following file:

    /usr/DassaultSystemes/B18/aix_a/reffiles/NLS/SUPPLANG

    Note that this file contain the following lines:

    *AIX*
    . . .
    Portuguese Portugal pt_PT ISO8859-1
     

  2. Copy the message catalog folder from the installation folder to your folder:

    cd /home/myadm
    cp -r /usr/DassaultSystemes/B18/aix_a/resources/msgcatalog
    /home/myadm/aix_a/resources
     

  3. Reference this new folder in the environment (by updating the CATMsgCatalogPath environment variable) so that it points to the preceding folder.
     
  4. Create a Portuguese folder in the CATMsgCatalogPath environment variable root folder:

    cd /home/myadm/aix_a/resources/msgcatalog
    mkdir Portuguese
     

  5. Create translated versions of user interface files in the Portuguese language

    The General.CATNls user interface file, at least, must be translated. The files will be placed in the following folder:

    /home/myadm/aix_a/resources/msgcatalog/Portuguese
     

  6. Export the LANG variable for the desired locale before starting a session.

    You will enter the following command on AIX:

    export LANG=pt_PT
    this command on HP-UX:
    export LANG=pt_PT.iso88591
    this command on Sun Solaris:
    export LANG=pt_PT.ISO8859-1
     

  7. Start Version 5.

What about fonts?

The installation also sets up in each language directory a file named "Dialog.CATNls".

This file contains all the font declarations for use as is, for the language and locale you want to use (we have chosen the same fonts as used in Version 4 to facilitate the transition to Version 5).

If you want to use other fonts, comment out the previous font declarations and declare the new fonts.

The file also contains other user interface texts.

You then simply use your operating system tools to choose the locale in which you want to start your session. If no locale is chosen, your session will be started in English.
  1. Open a shell window.

  1. Export the LANG variable for the desired locale before starting a session.

For example, for the French language, enter this command on AIX:

export LANG=fr_FR

this command on HP-UX:

export LANG=fr_FR.iso88591

this command on Sun Solaris:

export LANG=fr

  1. Start Version 5.

 

Locales Whose Use with Version 5 has been Validated

The locales whose use with Version 5 has been validated are as follows:

 

IBM AIX

  User Interface Name in English environment $LANG environment variable Language
  Czech ISO8859-2
Danish ISO8859-1
Dutch Belgium ISO8859-1
Dutch ISO8859-1
English (United States) ISO8859-1
English (United Kingdom) ISO8859-1
Finish ISO8859-1
French ISO8859-1
French ISO8859-1
French ISO8859-1
French ISO8859-1
German ISO8859-1
German (Switzerland) ISO8859-1
Icelandic ISO8859-1
Italian ISO8859-1
Japanese (PC) IBM-943
Korean IBM-eucKR
Norwegian ISO8859-1
Polish ISO8859-2
Portuguese ISO8859-1
Russian ISO8859-5
Chinese (Simplified EUC) IBM-eucCN
Spanish ISO8859-1
Swedish ISO8859-1
Chinese (Traditional) IBM-eucTW
cs_CZ
da_DK
nl_BE
nl_NL
en_US
en_GB
fi_FI
fr_BE
fr_CA
fr_FR
fr_CH
de_DE
de_CH
is_IS
it_IT
Ja_JP
ko_KR
no_NO
pl_PL
pt_PT
ru_RU
zh_CN
es_ES
sv_SE
zh_TW
Czech
Danish
Dutch (Belgium)
Dutch (Netherlands)
English (United States)
English (United Kingdom)
Finnish
French (Belgian)
French (Canadian)
French (Standard)
French (Switzerland)
German (Standard)
German (Switzerland)
Icelandic
Italian (Standard)
Japanese
Korean
Norwegian (Bokmal)
Polish
Portuguese (Portugal)
Russian
Chinese (PRC)
Spanish (Spain, Traditional Sort)
Swedish
Chinese (Taiwan)
 

HP-UX

  User Interface Name in English environment $LANG environment variable Language
  cs_CZ.iso88592
da_DK.iso88591
nl_NL.iso88591
nl_NL.iso88591
en_US.iso88591
en_GB.iso88591
fi_FI.iso88591
fr_CA.iso88591
fr_FR.iso88591
de_DE.iso88591
de_DE.iso88591
is_IS.iso88591
it_IT.iso88591
ja_JP.SJIS
ko_KR.eucKR
no_NO.iso88591
pl_PL.iso88592
pt_PT.iso88591
ru_RU.iso88595
zh_CN.hp15CN
es_ES.iso88591
sv_SE.iso88591
zh_TW.eucTW
cs_CZ.iso88592
da_DK.iso88591
nl_NL.iso88591
nl_NL.iso88591
en_US.iso88591
en_GB.iso88591
fi_FI.iso88591
fr_CA.iso88591
fr_FR.iso88591
de_DE.iso88591
de_DE.iso88591
is_IS.iso88591
it_IT.iso88591
ja_JP.SJIS
ko_KR.eucKR
no_NO.iso88591
pl_PL.iso88592
pt_PT.iso88591
ru_RU.iso88595
zh_CN.hp15CN
es_ES.iso88591
sv_SE.iso88591
zh_TW.eucTW
Czech
Danish
Dutch (Belgium)
Dutch (Netherlands)
English (United States)
English (United Kingdom)
Finnish
French (Canadian)
French (Standard)
German (Standard)
German (Switzerland)
Icelandic
Italian (Standard)
Japanese
Korean
Norwegian
Polish
Portuguese (Portugal)
Russian
Chinese (PRC)
Spanish (Spain, Traditional Sort)
Swedish
Chinese (Taiwan)
 

SUN Solaris

  User Interface Name in English environment $LANG environment variable Language
  cs_CZ.ISO8859-2
da_DK.ISO8859-1
nl_BE.ISO8859-1
nl_NL.ISO8859-1
en_CA.ISO8859-1
en_GB.ISO8859-1
fi_FI.ISO8859-1
fr_BE.ISO8859-1
fr_CA.ISO8859-1
fr_FR.ISO8859-1
de_DE.ISO8859-1
de_CH.ISO8859-1
is_IS.ISO8859-1
it_IT.ISO8850-1
ja_JP.PCK
ko ------- Korean
no_NO.ISO8859-1@bokmal
no_NO.ISO8859-1@nynorsk
pl_PL.ISO8859-2
pt_PT.ISO8859-1
ru_RU.ISO8859-5
zh ------- Simplified Chinese
es_ES.ISO8859-1
sv_SE.ISO8859-1
zh_TW ---- Traditional Chinese
cs_CZ.ISO8859-2
da_DK.ISO8859-1
nl_BE.ISO8859-1
nl_NL.ISO8859-1
en_CA.ISO8859-1
en_GB.ISO8859-1
fi_FI.ISO8859-1
fr_BE.ISO8859-1
fr_CA.ISO8859-1
fr_FR.ISO8859-1
de_DE.ISO8859-1
de_CH.ISO8859-1
is_IS.ISO8859-1
it_IT.ISO8850-1
ja_JP.PCK
ko
no_NO.ISO8859-1@bokmal
no_NO.ISO8859-1@nynorsk
pl_PL.ISO8859-2
pt_PT.ISO8859-1
ru_RU.ISO8859-5
zh
es_ES.ISO8859-1
sv_SE.ISO8859-1
zh_TW
Czech
Danish
Dutch (Belgium)
Dutch (Netherlands)
English (Canada)
English (United Kingdom)
Finnish
French (Belgian)
French (Canadian)
French (Standard)
German (Standard)
German (Switzerland)
Icelandic
Italian (Standard)
Japanese
Korean
Norwegian (Bokmal)
Norwegian (nynorsk)
Polish
Portuguese (Portugal)
Russian
Chinese (PRC)
Spanish (Spain, Traditional Sort)
Swedish
Chinese (Taiwan)