jiti-meet/lang
Calin Chitu 8a6b6f2942 feat(dialog) start recording/live stream screens, new AlertDialog 2022-02-08 14:41:34 +02: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(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-ar.json fix(lang) update Arabic translation 2022-02-01 11:50:59 +01:00
main-be.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-bg.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-ca.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-cs.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-da.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-de.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-el.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-enGB.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-eo.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-es.json fix(lang) update Spanish translation 2022-01-28 12:08:23 +01:00
main-esUS.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-et.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-eu.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-fa.json lang: sort json keys 2022-01-18 20:14:55 +01:00
main-fi.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-fr.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-frCA.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-gl.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-he.json lang: sort json keys 2022-01-18 20:14:55 +01:00
main-hi.json lang: sort json keys 2022-01-18 20:14:55 +01:00
main-hr.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-hu.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-hy.json lang: sort json keys 2022-01-18 20:14:55 +01:00
main-id.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-is.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-it.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-ja.json fix(lang) update Japanese translation 2022-01-27 09:23:59 +01:00
main-kab.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-ko.json lang: sort json keys 2022-01-18 20:14:55 +01:00
main-lt.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-lv.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-ml.json lang: sort json keys 2022-01-18 20:14:55 +01:00
main-mn.json lang: sort json keys 2022-01-18 20:14:55 +01:00
main-mr.json lang: sort json keys 2022-01-18 20:14:55 +01:00
main-nb.json lang: sort json keys 2022-01-18 20:14:55 +01:00
main-nl.json fix(lang) update Dutch translation 2022-02-08 10:42:26 +01:00
main-oc.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-pl.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-pt.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-ptBR.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-ro.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-ru.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-sc.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-sk.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-sl.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-sq.json fix(lang) update sq translation 2022-02-03 20:14:18 +01:00
main-sr.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-sv.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-te.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-tr.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-uk.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-vi.json fix(lang, shared-video): Reference to YouTube 2022-01-26 10:12:28 +01:00
main-zhCN.json lang: sort json keys 2022-01-18 20:14:55 +01:00
main-zhTW.json lang: sort json keys 2022-01-18 20:14:55 +01:00
main.json feat(dialog) start recording/live stream screens, new AlertDialog 2022-02-08 14:41:34 +02: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.