Go to the source code of this file.
$language_options = elgg()->translator->getInstalledTranslations() |
if ($config_language!== 'en') $language_options['en'] |
Initial value:
Definition at line 26 of file i18n.php.
Initial value: '#type' => 'select',
'name' => 'language',
'#label' =>
elgg_echo(
'installation:language'),
'options_values' =>
elgg()->translator->getInstalledTranslations(
true),
])
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Site settings, i18n section.
Definition at line 6 of file i18n.php.