Elgg  Version 2.3
Variables
languages.js.php File Reference

Go to the source code of this file.

Variables

 $language = elgg_extract('language', $vars, 'en')
 @uses $vars['language'] More...
 
 $all_translations = $GLOBALS['_ELGG']->translations
 
 $translations = $all_translations['en']
 
if($language !='en' &&!isset($all_translations[$language])) if ( $language !='en' &&isset( $all_translations[ $language]))
 

Variable Documentation

◆ $all_translations

$all_translations = $GLOBALS['_ELGG']->translations

Definition at line 8 of file languages.js.php.

◆ $language

$language = elgg_extract('language', $vars, 'en')

@uses $vars['language']

Definition at line 6 of file languages.js.php.

◆ $translations

$translations = $all_translations['en']

Definition at line 9 of file languages.js.php.

◆ if

if ( $language !='en' &&!isset( $all_translations[ $language])) if($language !='en' &&isset($all_translations[$language])) (   $language ! = 'en' && isset($all_translations[$language]))

Definition at line 17 of file languages.js.php.