Configure LANG on a Genero Studio Server

Follow this procedure to configure the locale on a Genero Studio server (Linux™).

The locale to be specified for the LANG environment variable must be installed on the Unix/Linux system.
Text encoding specifies the character set, and when compiling files, the LANG environment variable is used by Genero internal processes to determine which encoding the files use.
  1. Launch the Genero Studio server (skip this step if using an ssh connection - it is automatic).
  2. On the Genero Studio client, navigate to Tools >> Genero Configurations.
  3. Select the configuration for the Genero Studio server from the list in the Configuration pane and press Configure.

    This screenshot shows the remote configuration for the Genero Studio server.

    Figure 1. Configurations in Genero configuration management

  4. Select the Environment Sets node in the left pane and press the Add Remote Environment Set... button.

    The screenshot shows the option to add a remote environment set to a Genero Studio server.

    Figure 2. Add Remote Environment Set

  5. Type in a meaningful name for the new environment set and press OK.
  6. Select the + in the Environment Sets dialog to add a variable named LANG with the desired locale (pl_PL.iso88592 for the example). With the LANG environment variable, you define the language, the territory (country) and the character set (codeset) to be used. The format is:
    <language>_<country>.<codeset>

    This screenshot shows configuration of the LANG environment variable in a new environment set for the Genero Studio server.

    Figure 3. Configuring the LANG environment variable

  7. Close Hosts Management and check the environment set for your configuration. Setting the LANG environment variable in an Environment Set to configure the locale over-rides system defaults or user level (.profile) settings.