9 '#label' =>
elgg_echo(
'installation:language'),
11 'options_values' =>
elgg()->translator->getInstalledTranslations(
true),
33 '#type' =>
'checkboxes',
34 '#label' =>
elgg_echo(
'config:i18n:allowed_languages'),
35 '#help' =>
elgg_echo(
'config:i18n:allowed_languages:help'),
36 'name' =>
'allowed_languages',
37 'value' =>
elgg()->translator->getAllowedLanguages(),
39 'align' =>
'horizontal',
44 '#label' =>
elgg_echo(
'config:i18n:who_can_change_language'),
45 'name' =>
'who_can_change_language',
48 'everyone' =>
elgg_echo(
'config:i18n:who_can_change_language:everyone'),
49 'admin_only' =>
elgg_echo(
'config:i18n:who_can_change_language:admin_only'),
50 'nobody' =>
elgg_echo(
'config:i18n:who_can_change_language:nobody'),
elgg_view_module(string $type, string $title, string $body, array $vars=[])
Wrapper function for the module display pattern.
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.
$result
Site settings, i18n section.