SWAP_BASE_LANGUAGE
Syntax
SWAP_BASE_LANGUAGE new_language_code;
or
SET BASE_LANGUAGE current_language_code; SWAP_BASE_LANGUAGE recordname;
Description
Installs any language other than English.
The command swaps all the language tables from PSRECDEFN. It gets all table names that contain related tables, and it swaps one table at a time. It copies the base table into the related table, updates the related record into the base table, and then deletes the related record from the related table.
If successful, the command updates PSOPTIONS SET LANGUAGE_CD to the new base language.
Swapping an individual table (SET BASE_LANGUAGE current_language_code and SWAP_BASE_LANGUAGE recordname) is used only when there is an error with any of the tables after the SWAP_BASE_LANGUAGE new_language_code command has been run.
Note:
Never run a combination of SET BASE_LANGUAGE current_language_code and SWAP_BASE_LANGUAGE recordname command before SWAP_BASE_LANGUAGE new_language_code.
Example
To swap English for Canadian French, enter the following:
SWAP_BASE_LANGUAGE CFR
CFR is the new language code.
Note:
During the initial installation, the Database Setup utility generates a script that automatically swaps the base language if, while in the Database Setup interface, you select a base language other than English.