Name

SetLanguage — Selects the language for translate()

Synopsis

string SetLanguage ( string  language ,
  string  encoding );

Parameters

string language

Optional Arguments

string encoding

Return

string

proposed encoding have fun

Description

The "<proposed encoding>" is the output of 'nl_langinfo (CODESET)' and only given if SetLanguage() is called with a single argument.

Usage

  SetLanguage("de_DE", "UTF-8") -> ""
  SetLanguage("de_DE@euro") -> "ISO-8859-15"