jiti-meet/lang
Misha 3ef3233242
ref(conn-indicator): remove E2E RTT (#12139)
There was a fundamental change in how e2e pings work in lib-jitsi-meet where it does few pings at the beginning, pushes metrics and shuts the whole thing down, so there are no more e2ertt updates after that. Plus it's disabled by default. @paweldomas have decided with @bgrozev to remove that instead of trying to adjust. Even if e2e pings are enabled the data is not feed correctly to the indicators, what's wrong there is as soon as the pings stop going the new data does not arrive and then all you get is N/A if the UI component is recreated.
2022-09-12 15:57:15 -05:00
..
languages-af.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-ar.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-be.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-bg.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05: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: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-de.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-el.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-enGB.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-eo.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-es.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-esUS.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-et.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05: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: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-fr.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-frCA.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05: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 fix(lang) update Croatian translation 2022-07-20 14:27:29 +02:00
languages-hsb.json lang: add upper sorbian translation (#11610) 2022-07-11 14:56:25 +03:00
languages-hu.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-hy.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-id.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-is.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05: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: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-lv.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05: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: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-nl.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05: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: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-ro.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-ru.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-sc.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-sk.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-sl.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-sq.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-sr.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-sv.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-te.json lang: sort json keys 2022-01-18 20:14:55 +01:00
languages-tr.json lang: add Ukrainian to more languages 2022-08-18 13:20:02 -05:00
languages-uk.json lang: update Ukrainian translation 2022-08-17 15:46:12 -05: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: add upper sorbian translation (#11610) 2022-07-11 14:56:25 +03:00
main-af.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-ar.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-be.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-bg.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-ca.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-cs.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-da.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-de.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-el.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-enGB.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-eo.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-es.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-esUS.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-et.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-eu.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-fa.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-fi.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-fr.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -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 ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-hi.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-hr.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-hsb.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-hu.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-hy.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-id.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-is.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-it.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-ja.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-kab.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-ko.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-lt.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-lv.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-ml.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-mn.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-mr.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-nb.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-nl.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-oc.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-pl.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-pt.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-ptBR.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-ro.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-ru.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-sc.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-sk.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-sl.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-sq.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-sr.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-sv.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-te.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-tr.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-uk.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-vi.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-zhCN.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-zhTW.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05: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.