選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Mihaela Dumitru a6d333c07a
fix(recordings) improve label to clearly reflect current status (#15570)
8ヶ月前
..
languages.json lang: add indonesian translation (#14836) 1年前
main-af.json fix(lang) refactor user media permission copy 10ヶ月前
main-ar.json fix(lang) refactor user media permission copy 10ヶ月前
main-be.json fix(lang) refactor user media permission copy 10ヶ月前
main-bg.json fix(lang) refactor user media permission copy 10ヶ月前
main-ca.json fix(lang) refactor user media permission copy 10ヶ月前
main-cs.json fix(lang) update Czech translation 9ヶ月前
main-da.json fix(lang) refactor user media permission copy 10ヶ月前
main-de.json fix(lang) update German translation 10ヶ月前
main-dsb.json fix(lang) refactor user media permission copy 10ヶ月前
main-el.json fix(lang) updated el translation 10ヶ月前
main-eo.json fix(lang) refactor user media permission copy 10ヶ月前
main-es.json fix(lang) refactor user media permission copy 10ヶ月前
main-esUS.json fix(lang) refactor user media permission copy 10ヶ月前
main-et.json fix(lang) refactor user media permission copy 10ヶ月前
main-eu.json fix(lang) refactor user media permission copy 10ヶ月前
main-fa.json fix(lang) refactor user media permission copy 10ヶ月前
main-fi.json fix(lang) refactor user media permission copy 10ヶ月前
main-fr.json lang: Update missing french labels (#15422) 9ヶ月前
main-frCA.json fix(lang) refactor user media permission copy 10ヶ月前
main-gl.json fix(lang) refactor user media permission copy 10ヶ月前
main-he.json fix(lang) refactor user media permission copy 10ヶ月前
main-hi.json fix(lang) refactor user media permission copy 10ヶ月前
main-hr.json fix(lang) refactor user media permission copy 10ヶ月前
main-hsb.json fix(lang) refactor user media permission copy 10ヶ月前
main-hu.json fix(lang) refactor user media permission copy 10ヶ月前
main-hy.json fix(lang) refactor user media permission copy 10ヶ月前
main-id.json fix(lang) refactor user media permission copy 10ヶ月前
main-is.json fix(lang) refactor user media permission copy 10ヶ月前
main-it.json fix(lang) refactor user media permission copy 10ヶ月前
main-ja.json fix(lang) refactor user media permission copy 10ヶ月前
main-kab.json fix(lang) refactor user media permission copy 10ヶ月前
main-ko.json lang: Adds missing Korean translations 10ヶ月前
main-lt.json fix(lang) refactor user media permission copy 10ヶ月前
main-lv.json fix(lang): Update Latvian language translation 9ヶ月前
main-ml.json fix(lang) refactor user media permission copy 10ヶ月前
main-mn.json fix(lang) refactor user media permission copy 10ヶ月前
main-mr.json fix(lang) refactor user media permission copy 10ヶ月前
main-nl.json fix(lang) refactor user media permission copy 10ヶ月前
main-oc.json fix(lang) update Occitan locale (#15389) 10ヶ月前
main-pl.json fix(lang) refactor user media permission copy 10ヶ月前
main-pt.json fix(lang) refactor user media permission copy 10ヶ月前
main-ptBR.json fix(lang) refactor user media permission copy 10ヶ月前
main-ro.json fix(lang) refactor user media permission copy 10ヶ月前
main-ru.json fix(lang) refactor user media permission copy 10ヶ月前
main-sc.json fix(lang) refactor user media permission copy 10ヶ月前
main-sk.json fix(lang) refactor user media permission copy 10ヶ月前
main-sl.json fix(lang) refactor user media permission copy 10ヶ月前
main-sq.json lang: Update for sq translation (#15322) 10ヶ月前
main-sr.json fix(lang) refactor user media permission copy 10ヶ月前
main-sv.json fix(lang) update Swedish translation 8ヶ月前
main-te.json fix(lang) refactor user media permission copy 10ヶ月前
main-tr.json fix(lang) refactor user media permission copy 10ヶ月前
main-uk.json fix(lang) refactor user media permission copy 10ヶ月前
main-vi.json fix(lang) refactor user media permission copy 10ヶ月前
main-zhCN.json lang: Update main-zhCN.json (#15426) 9ヶ月前
main-zhTW.json fix(lang) refactor user media permission copy 10ヶ月前
main.json fix(recordings) improve label to clearly reflect current status (#15570) 8ヶ月前
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 11ヶ月前

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.