Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translating Time to Leave to other Languages #475

Open
thamara opened this issue Oct 17, 2020 · 36 comments · Fixed by #499, #559 or #566
Open

Translating Time to Leave to other Languages #475

thamara opened this issue Oct 17, 2020 · 36 comments · Fixed by #499, #559 or #566
Labels
enhancement New feature or request hacktoberfest Hacktoberfest localization

Comments

@thamara
Copy link
Owner

thamara commented Oct 17, 2020

Time to Leave now supports multiple languages.
You can help to translate it into new languages, or enhance the supported languages by translating missing strings.
Please refer to this comment to get the list of missing strings translations. Please check if there's any open item for the translation, and if it's not assigned to anyone.

⚠️ Please, only translate into language you are fluent on.

How to contribute

  • Demonstrate your interest in translating to a new language in this issue
  • Open a new issue in the project (see Translate Time to Leave to fr-fr #460 for reference) and we'll assign that to you
  • Follow the guide below to do the translation

Adding new languages

  • Add the language locale in src/configs/app.config.js, on the array languages with the name for the language not translated, but instead in the native name for the language. Make sure it is sorted by the language locale.
  • Create a new directory under locales, with the locale of the language
  • Copy the json files from locales/en/ to the new created directory
  • Translate the strings in the new locales/{LANG}/translation.json
    • You'll see strings for "Time to Leave". This is the app name, and you don't need to translate it.
  • Translate README, by creating a new docs/README-{LANG}.md, with a copy of the main README.md, but translating into the specific language
  • Include a reference to newly created docs/README-{LANG}.md in README.md, close to the top, following the template:
    • <a href="docs/README-{LANG}.md"><img src="https://img.shields.io/badge/{LANG}-{Name for the language in original language}-purple" alt="This document is also available in {Language name}"></a>
  • Add coverage for the new locale on the getLanguageName test on https://github.com/thamara/time-to-leave/blob/d7f49f1565b70a81fdd60faba823d2da0cb4f30d/__tests__/__main__/user-preferences.js ,

The translations can be done incrementally, so don't feel like you need to do take all this work alone.

Including missing translations

  • Refer to this comment to get the list of missing strings translations.
  • Check if there's any open item, if not, feel free to open one
  • Check if someone is already working on it, if not, please comment saying you are interested in working on that
  • Translate the strings and submit a PR

Ongoing translations

Fully supported languages

⚠️ Check for the updated list in the comment: #475 (comment)
The list below is mainly to track maintainers.

Let us know if you have any questions.

@thamara thamara added the enhancement New feature or request label Oct 17, 2020
@thamara thamara pinned this issue Oct 17, 2020
@thamara thamara mentioned this issue Oct 17, 2020
@thamara thamara added the hacktoberfest Hacktoberfest label Oct 18, 2020
@SolKuczala

This comment has been minimized.

@giovannipessiva

This comment has been minimized.

@thamara

This comment has been minimized.

@jswildcards

This comment has been minimized.

@susheelg1197

This comment has been minimized.

@fuslonflare

This comment has been minimized.

@The-Kernel-Panic

This comment has been minimized.

@saviusz

This comment has been minimized.

@Esot3riA

This comment has been minimized.

@thamara

This comment has been minimized.

@saviusz

This comment has been minimized.

@thamara

This comment has been minimized.

@thamara

This comment has been minimized.

@Semvrij

This comment has been minimized.

@suke6mix

This comment has been minimized.

@thamara
Copy link
Owner Author

thamara commented Mar 27, 2021

Summary - 29 languages supported (186 strings)

Locale Translation progress Missing strings
bn Progress 0
ca Progress 0
de-DE Progress 0
el Progress 2 (Open issue)
es Progress 0
fa-IR Progress 0
fr-FR Progress 0
gu Progress 0
he Progress 0
hi Progress 0
id Progress 0
it Progress 0
ja Progress 0
ko Progress 0
mr Progress 0
nl Progress 0
pl Progress 0
pt-BR Progress 0
pt-MI Progress 0
pt-PT Progress 4 (Open issue)
ru-RU Progress 0
sv-SE Progress 0
ta Progress 0
th-TH Progress 0
tr-TR Progress 0
uk-UA Progress 0
zh-CN Progress 1 (Open issue)
zh-TW Progress 0

Missing Translations:

el

2/186 - 1.08% missing:

{
 "$Menu": {
 "ok": "OK"
 },
 "$Preferences": {
 "cadentStar": "Cadent Star"
 }
}

pt-PT

4/186 - 2.15% missing:

{
 "$FlexibleMonthCalendar": {
 "total": "Total"
 },
 "$Menu": {
 "menu": "Menu",
 "ok": "OK"
 },
 "$Preferences": {
 "hours-per-day": "HH:mm"
 }
}

zh-CN

1/186 - 0.54% missing:

{
 "$Preferences": {
 "hours-per-day": "HH:mm"
 }
}

@TomerPacific
Copy link
Contributor

Hi @thamara , just made a PR to translate TTL to Hebrew. Can you check it out?

@tanyaleepr
Copy link

tanyaleepr commented Oct 20, 2022

Hi. I am interested to translate into Spanish the entire content. I see there are some grammar errors in Spanish. Can I work on it? Thanks.

@araujoarthur0
Copy link
Collaborator

Hi @tanyaleepr! Please open an issue and then we can assign it to you.

@thamara
Copy link
Owner Author

thamara commented Oct 22, 2022

@tanyaleepr , TTL is already translated to 'es'. But I know that Spanish can be quite different around the world. So please, check if by any chance the 'es' supported is already in line with your Spanish, and if not, feel free to open an issue and translate it to the specific locale (for example, es-ar for Argentina, es-es for Spain, etc).

@drcor
Copy link
Contributor

drcor commented Nov 17, 2022

Hello I want to help translating to pt-PT (Portuguese from Portugal)
I have opened an issue for it #907

@Kostioan
Copy link
Contributor

Hello, I want to help translating to el-GR (Greek).
I have opened an issue for it #943

@ibrahimesseddyq
Copy link

i would like to add arabic translation @thamara

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest Hacktoberfest localization
Projects
None yet