RSS-to-Telegram-Bot/docs/translation-guide.md

8.4 KiB

Translation Guide

Translating status

You can contribute by helping us to translate the bot to your language.

GitHub Pull Request

  1. Copy the src/i18n/en.json to src/i18n/<lang_code>.json.
  2. Ensure the following keys are correct.
  3. Translate other keys to your language.
  4. Commit your translation and create a Pull Request.
key e.g. 1 e.g. 2 e.g. 3 e.g. 4
lang_code1 en zh-Hans yue2 zh-Hant
iso_639_code3 en zh yue 4
language_name English Simplified Chinese Cantonese Traditional Chinese
lang_native_name English 简体中文 廣東話 正體中文
style_0 RSStT
style_1 flowerss

Hosted Weblate

Special thanks to their free hosting service for libre projects!

Recommended for those who are not familiar with Git or GitHub. You may both improve existing translations or start a new translation for your language.

https://hosted.weblate.org/projects/rss-to-telegram-bot/

Translators

Language Translator(s) Status
en / English @Rongronggg9 en_s
zh-Hans / Simplified Chinese / 简体中文 @Rongronggg9 zh_Hans_s
zh-Hant / Traditional Chinese / 正體中文 @Rongronggg9 zh_Hant_s
yue / Cantonese / 廣東話 @Rongronggg9 yue_s
it / Italian / Italiano @Alfy (@AlfyT96) it_s
ca / Catalan / Català @maite.guix ca_s
tr / Turkish / Türkçe @wiseweb-works tr_s
fr / French / français @Edanas, @naelopode, @Palente fr_s
id / Indonesian / Bahasa Indonesia @liimee, @rezaalmanda id_s
pt / Portuguese / Português @luchezi, @higorluchez, @lauravpf pt_s
cs / Czech / čeština @Mikyner cs_s
ru / Russian / Русский @AHOHNMYC, @nutrilonrng ru_s
pl / Polish / Polski @marcin93 pl_s
es / Spanish / Español @OscarCMD es_s
ja / Japanese / 日本語 @Misaka13514 ja_s

  1. Shorter is better. Usually, it's the same as iso_639_code. However, if a language does have multiple common variants and of which no one can be a common standard, consider using an extended IETF language tag instead. Please make sure the language code is IANA-registered and not deprecated or not about to be deprecated. ↩︎

  2. yue is a valid ISO 639-3 code, while zh-yue is non-standard. ↩︎

  3. Use for fallback. If your language has an ISO 639-1 code, use it. Otherwise, use an ISO 639-2/3 code. Ref: List of ISO 639-1 codes ↩︎

  4. If a language has multiple variants, only the most widely-used one can set iso_639_code. ↩︎