Name

SetLanguage — Sets the language of the UI

Synopsis

void SetLanguage ( string lang ,
  string encoding );
 

Parameters

string lang

Language selected by user

Optional Arguments

string encoding

Return

void

Description

Tells the UI that the user has selected another language. If the UI has any language dependend output that language setting is honored. lang is an ISO language string, such as de or de_DE. It is required to specify an encoding scheme, since not all user interfaces are capable of UTF-8.

Usage

  SetLanguage( "de_DE@euro" )
 

  SetLanguage( "en_GB" )