jiti-meet/lang
Robert Pintilii 0d0bec3aad
feat(device-selection) Separate Devices into Audio and Video in Settings (#12987)
Create separate tabs for Audio and Video in the Settings Dialog
Move some settings from the More tab to Audio/ Video tab
Implement redesign
Convert some files to TS
Move some styles from SCSS to JSS
Enable device selection on welcome page
2023-03-06 15:14:52 +02:00
..
languages.json lang: Add lower sorbian translation (#12947) 2023-02-24 09:04:06 -06:00
main-af.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-ar.json ref(misc) remove unused code for dock / undock (#12661) 2022-12-09 15:19:57 +02:00
main-be.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-bg.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-ca.json ref(misc) remove unused code for dock / undock (#12661) 2022-12-09 15:19:57 +02:00
main-cs.json ref(misc) remove unused code for dock / undock (#12661) 2022-12-09 15:19:57 +02:00
main-da.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-de.json lang: update German translation 2023-02-15 14:03:20 -06:00
main-dsb.json lang: Add lower sorbian translation (#12947) 2023-02-24 09:04:06 -06:00
main-el.json fix(lang) fixup main-el.json 2022-11-15 09:41:43 +01:00
main-enGB.json feat(face-landmarks): add face landmarks timeline (#12561) 2022-11-22 15:56:37 +02:00
main-eo.json fix(lang) updated Esperanto 2023-01-24 14:47:08 +01:00
main-es.json fix(lang) update Spanish translation 2023-03-04 15:41:39 +01:00
main-esUS.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-et.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-eu.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-fa.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-fi.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-fr.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-frCA.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-gl.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-he.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-hi.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-hr.json ref(misc) remove unused code for dock / undock (#12661) 2022-12-09 15:19:57 +02:00
main-hsb.json ref(misc) remove unused code for dock / undock (#12661) 2022-12-09 15:19:57 +02:00
main-hu.json fix(lang) update Hungarian translation 2022-11-23 19:33:13 +01:00
main-hy.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-is.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-it.json ref(misc) remove unused code for dock / undock (#12661) 2022-12-09 15:19:57 +02:00
main-ja.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-kab.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-ko.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-lt.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-lv.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-ml.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-mn.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-mr.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-nl.json fix(lang) updated Dutch translation 2023-02-02 13:50:25 +01:00
main-oc.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-pl.json ref(misc) remove unused code for dock / undock (#12661) 2022-12-09 15:19:57 +02:00
main-pt.json lang: Update Portuguese translation (#12647) 2023-02-03 11:41:11 -06:00
main-ptBR.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-ro.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-ru.json ru-localization minors 2022-11-04 13:46:41 -05:00
main-sc.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-sk.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-sl.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-sq.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-sr.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-sv.json ref(misc) remove unused code for dock / undock (#12661) 2022-12-09 15:19:57 +02:00
main-te.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-tr.json ref(misc) remove unused code for dock / undock (#12661) 2022-12-09 15:19:57 +02:00
main-uk.json ref(misc) remove unused code for dock / undock (#12661) 2022-12-09 15:19:57 +02:00
main-vi.json fix(lang) update translations 2022-11-03 10:53:25 +01:00
main-zhCN.json ref(misc) remove unused code for dock / undock (#12661) 2022-12-09 15:19:57 +02:00
main-zhTW.json ref(misc) remove unused code for dock / undock (#12661) 2022-12-09 15:19:57 +02:00
main.json feat(device-selection) Separate Devices into Audio and Video in Settings (#12987) 2023-03-06 15:14:52 +02:00
readme.md feat(lang) add helper script for manual translations 2021-09-29 13:08:59 +02:00
translation-languages.json fix(translation) translation button visibility for users, add missing languages 2022-09-29 13:44:59 +02:00
update-translation.js feat(lang) add helper script for manual translations 2021-09-29 13:08:59 +02:00

readme.md

Jitsi Meet Translation

Jitsi Meet uses i18next library for translation. i18next uses separate json files for each language.

Translating Jitsi Meet

The translation of Jitsi Meet is handled editing manually the language files.

You can use the update-translation.js script as follows to help you with that:

cd lang
node update-translation.js main-es.json

That will cause the main-es.json file to be updated with all the missing keys set as empty strings. All that's missing is for you to fill in the blanks!

Development

If you want to add new functionality for Jitsi Meet and you have texts that need to be translated you must add key and value in main.json file in English for each translatable text. Than you can use the key to get the translated text for the current language.

You can add translatable text in the HTML:

  • via attribute on HTML element - add data-i18n attribute with value the key of the translatable text.
<span data-i18n="dialog.OK">OK</span>

You can also use APP.translation.generateTranslationHTML(key, options) to get this HTML code as Javascript string.

APP.translation.generateTranslationHTML("dialog.OK") // returns <span data-i18n="dialog.OK">OK</span>

The value in the options parameter will be added in data-i18n-options attribute of the element.

Note: If you dynamically add HTML elements don't forget to call APP.translation.translateElement(jquery_selector) to translate the text initially.

APP.translation.translateString("dialog.OK") // returns the value for the key of the current language file. "OK" for example.

For the available values of options parameter for the above methods of translation module see i18next documentation.

Note: It is useful to add attributes in the HTML for persistent HTML elements because when the language is changed the text will be automatically translated.