jiti-meet/lang
JohnProv c276c204ac
lang: Update main-nl.json (#12479)
Fix name
2022-10-31 12:20:02 -05:00
..
languages.json feat: Adjust language list to be shown in native language (#12475) 2022-10-29 09:20:50 -05:00
main-af.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-ar.json 12272 2022-10-01 07:16:37 +02: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 Misspelling. Update main-ca.json 2022-10-28 09:33:39 -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 12272 2022-10-01 07:16:37 +02: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 lang: Update Croatian translation (#12441) 2022-10-28 11:22:25 -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 fix(lang) update Italian translation 2022-10-28 10:04:30 +02: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 lang: Update main-nl.json (#12479) 2022-10-31 12:20:02 -05:00
main-oc.json ref(conn-indicator): remove E2E RTT (#12139) 2022-09-12 15:57:15 -05:00
main-pl.json 12272 2022-10-01 07:16:37 +02:00
main-pt.json fix(lang) update Portuguese translation 2022-10-28 10:05:09 +02: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 fix(lang) update Ukrainian translation 2022-10-28 10:00:14 +02:00
main-vi.json fix(WaitForOwnerDialog) simplify code 2022-03-02 09:59:55 -06:00
main-zhCN.json 12272 2022-10-01 07:16:37 +02:00
main-zhTW.json 12272 2022-10-01 07:16:37 +02:00
main.json feat(translation): add description for source language (#12371) 2022-10-18 14:42:51 +03: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.