Translation2::setLang

Translation2::setLang() – Set default lang

Synopsis

require_once 'Translation2.php';

void Translation2::setLang ( string $langID )

Description

Set the language that shall be used when retrieving strings.

Parameter

string $langID language code (for instance, 'en' or 'it')

Note

This function can not be called statically.