mobile icon indicating copy to clipboard operation
mobile copied to clipboard

[Crowdin] Improve the process of updating translations

Open veloce opened this issue 1 year ago • 2 comments

We cannot anymore update translation with ./script/update-arb-from-crowdin.mjs.

To be future proof we should:

The script now only download the translations, it does not build them. A better solution would be a GitHub action than can be triggered manually and that would:

  • build the project using crowdin API
  • download the project (via API) and update ARB file (what is doing the script right now)
  • run flutter gen-l10n to update the dart files
  • create a PR with the updated translations so we can review the changes

veloce avatar Aug 28 '24 12:08 veloce

The more obvious course of action seems to be to use Weblate. Lichess prides itself on being open and no spying.

The translations I see now are awful.

comradekingu avatar Aug 31 '24 13:08 comradekingu

The more obvious course of action seems to be to use Weblate. Lichess prides itself on being open and no spying.

The translations I see now are awful.

That's probably a discussion that should be raised over at https://github.com/lichess-org/lila, since the app reuses a lot of the existing Lila's crowdin translations, so it's not really feasible to switch the backend just for the app.

tom-anders avatar Sep 04 '24 07:09 tom-anders

Done:

  • bb854b7a3ccbf4905912911689a8848b0d1bcc3e
  • 216d742a0594a2fb49560d6544bf653222a3d7a6

veloce avatar Jun 05 '25 18:06 veloce