Availability: >= 3.0
Type: Object Property
Description: Sets the language for the editor's user interface.
$editor->lang = string $lang
The value should be the name of the folder containing the language pack to load. Language pack folder names should be a two character ISO 639 language code followed by an optional hyphen and two character region or ISO 3166 country code.
By default language packs are stored in the wysiwygPro/lang/ directory. WysiwygPro ships with language packs for en-us and en-gb, other language packs may be available from 3rd parties or from the downloads section of our website.
// load the English (British) language pack:
$editor->lang = 'en-gb';