Make it possible to change Jitsi web UI language

Fixes #427 (Github Issue).
development
Slavi Pantaleev 5 years ago
parent 26b73e3a4b
commit ca04ca9ffe

@ -51,6 +51,9 @@ matrix_jitsi_web_container_extra_arguments: []
# List of systemd services that matrix-jitsi-web.service depends on # List of systemd services that matrix-jitsi-web.service depends on
matrix_jitsi_web_systemd_required_services_list: ['docker.service'] matrix_jitsi_web_systemd_required_services_list: ['docker.service']
matrix_jitsi_web_config_defaultLanguage: 'en'
matrix_jitsi_web_interface_config_lang_detection: false
matrix_jitsi_prosody_docker_image: "jitsi/prosody:4101" matrix_jitsi_prosody_docker_image: "jitsi/prosody:4101"
matrix_jitsi_prosody_docker_image_force_pull: "{{ matrix_jitsi_prosody_docker_image.endswith(':latest') }}" matrix_jitsi_prosody_docker_image_force_pull: "{{ matrix_jitsi_prosody_docker_image.endswith(':latest') }}"

@ -263,7 +263,7 @@ hiddenDomain: {{ matrix_jitsi_recorder_domain|to_json }},
// disable1On1Mode: false, // disable1On1Mode: false,
// Default language for the user interface. // Default language for the user interface.
// defaultLanguage: 'en', defaultLanguage: {{ matrix_jitsi_web_config_defaultLanguage|to_json }},
// If true all users without a token will be considered guests and all users // If true all users without a token will be considered guests and all users
// with token will be considered non-guests. Only guests will be allowed to // with token will be considered non-guests. Only guests will be allowed to

@ -30,7 +30,7 @@ var interfaceConfig = {
APP_NAME: 'Jitsi Meet', APP_NAME: 'Jitsi Meet',
NATIVE_APP_NAME: 'Jitsi Meet', NATIVE_APP_NAME: 'Jitsi Meet',
PROVIDER_NAME: 'Jitsi', PROVIDER_NAME: 'Jitsi',
LANG_DETECTION: false, // Allow i18n to detect the system language LANG_DETECTION: {{ matrix_jitsi_web_interface_config_lang_detection|to_json }}, // Allow i18n to detect the system language
INVITATION_POWERED_BY: true, INVITATION_POWERED_BY: true,
/** /**

Loading…
Cancel
Save