[Help wanted] Improve translations #98

Open
opened 2025-10-31 17:05:33 -05:00 by GiteaMirror · 14 comments
Owner

Originally created by @pd4d10 on GitHub (Jan 5, 2021).

We are using WebLate to do translation works:

Workflow

  1. Go to Weblate to improve current translations or add new translations.
  2. There are still some texts which are not translatable. Here's the way:
    1. Add a key in lib/l10n/intl_en.arb
    2. Replace the text with AppLocalizations.of(context).yourNewKey in the widget
    3. Submit a pull request. After merged, these texts would be translatable at Weblate.

Status

Translation status Translation status
Originally created by @pd4d10 on GitHub (Jan 5, 2021). We are using WebLate to do translation works: ## Workflow 1. Go to [Weblate](https://hosted.weblate.org/projects/git-touch/git-touch/) to improve current translations or add new translations. 2. There are still some texts which are not translatable. Here's the way: 1. Add a key in lib/l10n/intl_en.arb 2. Replace the text with `AppLocalizations.of(context).yourNewKey` in the widget 3. Submit a pull request. After merged, these texts would be translatable at Weblate. ## Status <a href="https://hosted.weblate.org/engage/git-touch/"> <img src="https://hosted.weblate.org/widgets/git-touch/-/git-touch/open-graph.png" alt="Translation status" width="500" /> </a> <a href="https://hosted.weblate.org/engage/git-touch/"> <img src="https://hosted.weblate.org/widgets/git-touch/-/git-touch/multi-auto.svg" alt="Translation status" /> </a>
GiteaMirror added the help wanted label 2025-10-31 17:05:33 -05:00
Author
Owner

@RickyM7 commented on GitHub (Jan 11, 2021):

@pd4d10 It would be great if your project were added to some localization platform, such as Crowdin, WebLate, POEditor, etc. These platforms have free plans and make the work of translators much easier.

@RickyM7 commented on GitHub (Jan 11, 2021): @pd4d10 It would be great if your project were added to some localization platform, such as [Crowdin](https://crowdin.com/), [WebLate](https://weblate.org/), [POEditor](https://poeditor.com/), etc. These platforms have free plans and make the work of translators much easier.
Author
Owner

@pd4d10 commented on GitHub (Jan 11, 2021):

Good idea! Which platform would you suggest?

@pd4d10 commented on GitHub (Jan 11, 2021): Good idea! Which platform would you suggest?
Author
Owner

@RickyM7 commented on GitHub (Jan 11, 2021):

@pd4d10 WebLate for having more scripts that automate the process of bringing translations to repo or Crowdin by having many open source projects there. For translators both platforms are good but WebLate is a bit better (in my opinion).

@RickyM7 commented on GitHub (Jan 11, 2021): @pd4d10 WebLate for having more scripts that automate the process of bringing translations to repo or Crowdin by having many open source projects there. For translators both platforms are good but WebLate is a bit better (in my opinion).
Author
Owner

@1hiking commented on GitHub (Jan 28, 2021):

I would happily contribute in WebLate

@1hiking commented on GitHub (Jan 28, 2021): I would happily contribute in WebLate
Author
Owner

@pd4d10 commented on GitHub (Jan 30, 2021):

OK, let's give it a try!

But the WebLate seems to have no free option. The trial would expire after a week.

image

@pd4d10 commented on GitHub (Jan 30, 2021): OK, let's give it a try! But the WebLate seems to have no free option. The trial would expire after a week. ![image](https://user-images.githubusercontent.com/9524411/106349259-a17a4d80-6307-11eb-97e3-460e06e2da14.png)
Author
Owner

@shreyas1599 commented on GitHub (Jan 30, 2021):

What about Crowdin? Seems to be free.

Screenshot_20210130-123500.png

@shreyas1599 commented on GitHub (Jan 30, 2021): What about Crowdin? Seems to be free. ![Screenshot_20210130-123500.png](https://user-images.githubusercontent.com/28999492/106349886-9fa88e00-62f7-11eb-9b9e-eb6f0927d0ba.png)
Author
Owner

@RickyM7 commented on GitHub (Jan 30, 2021):

OK, let's give it a try!

But the WebLate seems to have no free option. The trial would expire after a week.

image

@pd4d10 That's weird, take a look.
weblategratis

Can you take a look at this site? That's to have the Libre plan.
But if it doesn't work out with WebLate, using Crowdin would be great too.

@RickyM7 commented on GitHub (Jan 30, 2021): > OK, let's give it a try! > > But the WebLate seems to have no free option. The trial would expire after a week. > > ![image](https://user-images.githubusercontent.com/9524411/106349259-a17a4d80-6307-11eb-97e3-460e06e2da14.png) @pd4d10 That's weird, take a look. ![weblategratis](https://user-images.githubusercontent.com/24703825/106353734-74a84500-62cb-11eb-8b96-05f1baa8c664.jpg) Can you take a look at [this site](https://hosted.weblate.org/hosting/)? That's to have the `Libre plan`. But if it doesn't work out with WebLate, using Crowdin would be great too.
Author
Owner

@pd4d10 commented on GitHub (Jan 30, 2021):

Spend some time to figure out how it works: The libre hosting approval is requested.

https://hosted.weblate.org/projects/git-touch/git-touch/

@pd4d10 commented on GitHub (Jan 30, 2021): Spend some time to figure out how it works: The libre hosting approval is requested. https://hosted.weblate.org/projects/git-touch/git-touch/
Author
Owner

@pd4d10 commented on GitHub (Feb 3, 2021):

https://hosted.weblate.org/projects/git-touch/git-touch/#alerts

image

WebLate marks zh and nb as duplicated translation, which are necessary for Flutter (See https://github.com/git-touch/git-touch/pull/180#issuecomment-772168805)

Does anyone know how to solve this?

@pd4d10 commented on GitHub (Feb 3, 2021): https://hosted.weblate.org/projects/git-touch/git-touch/#alerts ![image](https://user-images.githubusercontent.com/9524411/106743171-fd6f0a00-6658-11eb-9090-e2271e6a9151.png) WebLate marks `zh` and `nb` as duplicated translation, which are necessary for Flutter (See https://github.com/git-touch/git-touch/pull/180#issuecomment-772168805) Does anyone know how to solve this?
Author
Owner

@pd4d10 commented on GitHub (Feb 14, 2021):

Submitted an issue to weblate repo: https://github.com/WeblateOrg/weblate/issues/5427

@pd4d10 commented on GitHub (Feb 14, 2021): Submitted an issue to weblate repo: https://github.com/WeblateOrg/weblate/issues/5427
Author
Owner

@pd4d10 commented on GitHub (Feb 15, 2021):

Temporarily solved by excluding these by language filter: ^(?!(zh|nb)$).+$

@pd4d10 commented on GitHub (Feb 15, 2021): Temporarily solved by excluding these by [language filter](https://docs.weblate.org/en/latest/admin/projects.html#language-filter): `^(?!(zh|nb)$).+$`
Author
Owner

@linsui commented on GitHub (Feb 27, 2021):

Some strings are not translatable. E.g. App Language.

@linsui commented on GitHub (Feb 27, 2021): Some strings are not translatable. E.g. `App Language`.
Author
Owner

@pd4d10 commented on GitHub (Feb 27, 2021):

Some strings are not translatable

Yep, we should do something in the codebase:

  1. Add a key in lib/l10n/intl_en.arb
  2. Replace the text with AppLocalizations.of(context).yourNewKey in the widget

Then submit a pull request. These texts could be translated after merged to the main branch.

@pd4d10 commented on GitHub (Feb 27, 2021): > Some strings are not translatable Yep, we should do something in the codebase: 1. Add a key in `lib/l10n/intl_en.arb` 2. Replace the text with `AppLocalizations.of(context).yourNewKey` in the widget Then submit a pull request. These texts could be translated after merged to the main branch.
Author
Owner

@Tealk commented on GitHub (Mar 31, 2021):

I added the German language, but I could not find some entries in the app, so it is difficult to translate them accurately.

@Tealk commented on GitHub (Mar 31, 2021): I added the German language, but I could not find some entries in the app, so it is difficult to translate them accurately.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/git-touch#98