jiti-meet/lang
Avram Tudor 40dd3e5193 feat(undock) expose buttons for docking / undocking iframe (#11560) 2022-05-26 11:54:40 +03:00
..
languages-af.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-ar.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-be.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-bg.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-ca.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-cs.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-da.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-de.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-el.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-enGB.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-eo.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-es.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-esUS.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-et.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-eu.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-fa.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-fi.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-fr.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-frCA.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-fy.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-gl.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-he.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-hi.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-hr.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-hu.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-hy.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-id.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-is.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-it.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-ja.json fix(lang) update Japanese translation 2022-01-27 09:23:59 +01:00
languages-ka.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-kab.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-km.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-ko.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-lt.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-lv.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-mn.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-mr.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-nb.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-nl.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-oc.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-pl.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-pt.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-ptBR.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-ro.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-ru.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-sc.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-sk.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-sl.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-sq.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-sr.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-sv.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-te.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-tr.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-uk.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-vi.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-zhCN.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-zhTW.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages.json lang: sort json keys 2022-01-18 20:14:55 +01:00
main-af.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-ar.json fix(lang) updated Arabic translation 2022-04-03 11:23:21 +02:00
main-be.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-bg.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-ca.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-cs.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-da.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-de.json fix(lang) update German translation 2022-04-11 11:20:03 +02:00
main-el.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-enGB.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-eo.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-es.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-esUS.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-et.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-eu.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-fa.json Add missing key to Persian lang file 2022-03-29 13:05:58 -05:00
main-fi.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-fr.json fix(lang): update french translation 2022-04-01 16:27:03 -05:00
main-frCA.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-gl.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-he.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-hi.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-hr.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-hu.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-hy.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-id.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-is.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-it.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-ja.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-kab.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-ko.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-lt.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-lv.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-ml.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-mn.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-mr.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-nb.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-nl.json fix(lang) update Dutch translation 2022-03-25 11:11:34 +01:00
main-oc.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-pl.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-pt.json fix(lang) update Portuguese Translation 2022-04-05 23:56:07 +02:00
main-ptBR.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-ro.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-ru.json fix(lang) update Russian translation 2022-04-05 16:10:34 +02:00
main-sc.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-sk.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-sl.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-sq.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-sr.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-sv.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-te.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-tr.json feat: Lobby chat (#10847) 2022-03-03 11:29:38 -06:00
main-uk.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-vi.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-zhCN.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-zhTW.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main.json feat(undock) expose buttons for docking / undocking iframe (#11560) 2022-05-26 11:54:40 +03:00
readme.md feat(lang) add helper script for manual translations 2021-09-29 13:08: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.