5 elgg.provide(
'elgg.config.translations');
8 elgg.config.language =
'en';
15 elgg.provide(
'elgg.config.translations.' + lang);
24 elgg.get_language =
function() {
25 var
user =
elgg.get_logged_in_user_entity();
27 if (user && user.language) {
31 return elgg.config.language;
50 if (
elgg.isString(argv)) {
57 dlang =
elgg.get_language(),
63 map = translations[
language] || translations[dlang];
64 if (map &&
elgg.isString(map[key])) {
$_ELGG translations
String translations for the current language.