$lang Returns name of currently used language |
Usage |
<string> $lang([<type:string>]) |
Description |
Returns the short name of currently used language. Type <type> should be one of: full - returns full locale name, such as ru_RU.UTF-8 (default). lang - return language name, such as ru_RU. short - returns only language group such as ru. |