Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add commands and workflows to handle translations #542

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

Merged
silvanocerza merged 9 commits into main from scerza/i18n
Nov 5, 2021
Merged

Conversation

@silvanocerza
Copy link
Contributor

@silvanocerza silvanocerza commented Oct 11, 2021
edited
Loading

Add four yarn commands:

  • i18n:generate to generate the source json file that contains all translatable strings
  • i18n:check to verify that the source json file is updated with new strings
  • i18n:push to push source file json file to Transifex
  • i18n:pull to pull translation files from Transifex

Also add three new workflows:

  • check-i18n-task.yml to verify that each PR updates the source json file in i18n if necessary
  • i18n-nightly-push.yml to push source file json file to Transifex each night
  • i18n-weekly-pull.yml to pull translation files from Transifex each Monday

The workflow currently in use in the arduino/arduino-cli repo is not usable for this project since the release process is different.

@silvanocerza silvanocerza added type: enhancement Proposed improvement status: in progress Work is in progress on this topic: infrastructure Related to project infrastructure labels Oct 11, 2021
@silvanocerza silvanocerza requested a review from a team October 11, 2021 10:45
Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only reviewed the workflow syntax, but that part looks good to me.
Very exciting to see the i18n initiative moving forward. Thanks Silvano!

silvanocerza reacted with heart emoji
@silvanocerza silvanocerza merged commit 99d6553 into main Nov 5, 2021
@silvanocerza silvanocerza deleted the scerza/i18n branch November 5, 2021 08:49
@rsora rsora mentioned this pull request Jan 11, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@per1234 per1234 per1234 approved these changes

+1 more reviewer

@rsora rsora rsora approved these changes

Reviewers whose approvals may not affect merge requirements

Labels

status: in progress Work is in progress on this topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /