Installing extra languages for Java applications

You only need to follow these instructions if you want to run Java applications in a language other than U.S. English.

Prerequisites

Table 1. Audio segment filesets for each language..

This table describes for each language, the name of the audio segment fileset without enhancements.

Language Fileset name without Enhancements
Catalan–Spain dirTalk.DTBE.ca_ES
English–UK dirTalk.DTBE.en_GB
English–US dirTalk.DTBE.en_US
French–Canada dirTalk.DTBE.fr_CA
French–France dirTalk.DTBE.fr_FR
German–Germany dirTalk.DTBE.de_DE
Italian–Italy dirTalk.DTBE.it_IT
Spanish–Mexico dirTalk.DTBE.es_MX
Spanish–Spain dirTalk.DTBE.es_ES
Portuguese-Brazil  
 

Procedure

  1. Log in as dtuser.
  2. At the command line, type the following command and press Enter:
    cd /var/dirTalk/DTBE/nls/mappers
  3. For each language you want to install, type the following command and press Enter to import the voice segments:
    dtjnlsin xx_yy.zip
    Where xx_yy is the language identifier for the language you want to use. The language identifier forms the last five characters of the audio segment fileset name.
  4. Make sure you see the message "The language pack has been installed successfully".

To set the default locale to a different language, you need to edit the default.cff file:

  1. Setting the default locale to a different language : Type the following command and press Enter:
    cd /var/dirTalk/DTBE/native/aix
  2. Edit the default.cff file.
  3. Find the line that reads:
    NodeDefLocale=en_US
    and change the language identifier from en_US to the language identifier you want.
  4. Save your changes.
  5. At the command line, type the following command and press Enter:
    dtjconf
  6. Stop the Java and VoiceXML environment by typing:
    dtjstop
  7. Restart the Java and VoiceXML environment by typing:
    dtjstart

You can now follow the instructions in Testing the installation again, to make sure that you hear the application in the new language. For more information about configuring applications in the Java and VoiceXML environment, see Blueworx Voice Response for AIX: Deploying and Managing VoiceXML and Java Applications.

Next step: