Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Mihaela Dumitru a6d333c07a
fix(recordings) improve label to clearly reflect current status (#15570)
4 месяцев назад
..
languages.json lang: add indonesian translation (#14836) 1 год назад
main-af.json fix(lang) refactor user media permission copy 7 месяцев назад
main-ar.json fix(lang) refactor user media permission copy 7 месяцев назад
main-be.json fix(lang) refactor user media permission copy 7 месяцев назад
main-bg.json fix(lang) refactor user media permission copy 7 месяцев назад
main-ca.json fix(lang) refactor user media permission copy 7 месяцев назад
main-cs.json fix(lang) update Czech translation 6 месяцев назад
main-da.json fix(lang) refactor user media permission copy 7 месяцев назад
main-de.json fix(lang) update German translation 6 месяцев назад
main-dsb.json fix(lang) refactor user media permission copy 7 месяцев назад
main-el.json fix(lang) updated el translation 6 месяцев назад
main-eo.json fix(lang) refactor user media permission copy 7 месяцев назад
main-es.json fix(lang) refactor user media permission copy 7 месяцев назад
main-esUS.json fix(lang) refactor user media permission copy 7 месяцев назад
main-et.json fix(lang) refactor user media permission copy 7 месяцев назад
main-eu.json fix(lang) refactor user media permission copy 7 месяцев назад
main-fa.json fix(lang) refactor user media permission copy 7 месяцев назад
main-fi.json fix(lang) refactor user media permission copy 7 месяцев назад
main-fr.json lang: Update missing french labels (#15422) 5 месяцев назад
main-frCA.json fix(lang) refactor user media permission copy 7 месяцев назад
main-gl.json fix(lang) refactor user media permission copy 7 месяцев назад
main-he.json fix(lang) refactor user media permission copy 7 месяцев назад
main-hi.json fix(lang) refactor user media permission copy 7 месяцев назад
main-hr.json fix(lang) refactor user media permission copy 7 месяцев назад
main-hsb.json fix(lang) refactor user media permission copy 7 месяцев назад
main-hu.json fix(lang) refactor user media permission copy 7 месяцев назад
main-hy.json fix(lang) refactor user media permission copy 7 месяцев назад
main-id.json fix(lang) refactor user media permission copy 7 месяцев назад
main-is.json fix(lang) refactor user media permission copy 7 месяцев назад
main-it.json fix(lang) refactor user media permission copy 7 месяцев назад
main-ja.json fix(lang) refactor user media permission copy 7 месяцев назад
main-kab.json fix(lang) refactor user media permission copy 7 месяцев назад
main-ko.json lang: Adds missing Korean translations 6 месяцев назад
main-lt.json fix(lang) refactor user media permission copy 7 месяцев назад
main-lv.json fix(lang): Update Latvian language translation 5 месяцев назад
main-ml.json fix(lang) refactor user media permission copy 7 месяцев назад
main-mn.json fix(lang) refactor user media permission copy 7 месяцев назад
main-mr.json fix(lang) refactor user media permission copy 7 месяцев назад
main-nl.json fix(lang) refactor user media permission copy 7 месяцев назад
main-oc.json fix(lang) update Occitan locale (#15389) 6 месяцев назад
main-pl.json fix(lang) refactor user media permission copy 7 месяцев назад
main-pt.json fix(lang) refactor user media permission copy 7 месяцев назад
main-ptBR.json fix(lang) refactor user media permission copy 7 месяцев назад
main-ro.json fix(lang) refactor user media permission copy 7 месяцев назад
main-ru.json fix(lang) refactor user media permission copy 7 месяцев назад
main-sc.json fix(lang) refactor user media permission copy 7 месяцев назад
main-sk.json fix(lang) refactor user media permission copy 7 месяцев назад
main-sl.json fix(lang) refactor user media permission copy 7 месяцев назад
main-sq.json lang: Update for sq translation (#15322) 6 месяцев назад
main-sr.json fix(lang) refactor user media permission copy 7 месяцев назад
main-sv.json fix(lang) update Swedish translation 4 месяцев назад
main-te.json fix(lang) refactor user media permission copy 7 месяцев назад
main-tr.json fix(lang) refactor user media permission copy 7 месяцев назад
main-uk.json fix(lang) refactor user media permission copy 7 месяцев назад
main-vi.json fix(lang) refactor user media permission copy 7 месяцев назад
main-zhCN.json lang: Update main-zhCN.json (#15426) 5 месяцев назад
main-zhTW.json fix(lang) refactor user media permission copy 7 месяцев назад
main.json fix(recordings) improve label to clearly reflect current status (#15570) 4 месяцев назад
readme.md fix(docs) set proper language for codeblocks in lang/readme.md 2 лет назад
translation-languages.json feat(lang) add upper sorbian to transcription languages 1 год назад
update-translation.js fix(lang): Add newline at the end of generated lang file 7 месяцев назад

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.