Elgg
Version 1.9
|
Go to the source code of this file.
Functions | |
elgg | provide ('elgg.config.translations') |
Provides language-related functionality. More... | |
Variables | |
elgg config | language = 'en' |
elgg | add_translation |
Analagous to the php version. More... | |
elgg | get_language |
Get the current language. More... | |
elgg | echo |
Translates a string. More... | |
elgg provide | ( | 'elgg.config.translations' | ) |
Provides language-related functionality.
elgg add_translation |
Analagous to the php version.
Merges translations for a given language into the current translations map.
Definition at line 14 of file languages.js.
elgg echo |
Translates a string.
{String} | key The string to translate |
{Array} | argv vsprintf support |
{String} | language The language to display it in |
Definition at line 43 of file languages.js.
elgg get_language |
Get the current language.
Definition at line 24 of file languages.js.
elgg config language = 'en' |
Definition at line 8 of file languages.js.