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

I18n sync Down & Out 03/31 #45594

Merged
merged 84 commits into from Apr 1, 2022
Merged

I18n sync Down & Out 03/31 #45594

merged 84 commits into from Apr 1, 2022

Conversation

deploy-code-org
Copy link
Contributor

I18n Sync Down & Out

This PR contains all changes to translations made since the last sync (usually a week).

To Review:

Look through the changes in each of the commits and verify that all changes are expected. Note that it is not necessary to review every single "dashboard i18n update" commit. These commits are batched by language to make it easier to review just a couple commits in this category.

Things to Note:

  • We expect translation changes to come in on a regular basis; new strings will be translated, existing translations will be updated, and source string removals will result in translations for those strings also being removed.

  • We expect translations to arrive in large batches, so don't worry if you see a large group of changes in a specific language.

  • We do not usually expect to see a large number of formatting changes, or batches of changes that apply to strings in every single language. If you see this, it usually means either that a code change went in or that something broke.

Known Issues:

  • If the CI unit tests fail at the grunt messages:all step, they will typically fail with a message like:

    [2019-10-04 02:38:57] Running "messages:all" (messages) task
    [2019-10-04 02:39:00] Warning: Error processing localization file i18n/common/zh_tw.json: SyntaxError: Expected [0-9a-zA-Z$_] but "\u8A0A" found. Use --force to continue. 
    

    This usually means that a translator has translated one of the MessageFormat variables. In this case, you should find and fix the offending translation in crowdin, and then manually update the associated strings in i18n/locales and apps/i18n.

    See ab3e5d1 and 0fca376 for an example.

To Deploy:

Once one or two people have reviewed and approved this change and the tests are passing, ship it!

It's not necessary to wait for everyone on the team to review.

@deploy-code-org deploy-code-org requested a review from a team as a code owner March 31, 2022 21:16
@annaxuphoto
Copy link
Contributor

This comment is created by running: bin/i18n/analyze_pr.rb -p 45594 -c

Top 5/861 files sorted by the number of changes:

  • bin/i18n/crowdin/codeorg_etags.json, 34830 changes (17415 additions, 17415 deletions).
  • dashboard/config/locales/behavior_names.bg-BG.json, 2539 changes (2539 additions, 0 deletions).
  • dashboard/config/locales/activity_sections.ar-SA.json, 1955 changes (308 additions, 1647 deletions).
  • bin/i18n/crowdin/codeorg-markdown_etags.json, 1804 changes (902 additions, 902 deletions).
  • dashboard/config/locales/resources.ar-SA.json, 972 changes (565 additions, 407 deletions).

Top 5/84 commits sorted by the number of changes:

  • Commit: etags updates
    • 36648 changes (18324 additions, 18324 deletions).
    • 3 files changed.
    • File with the most changes: bin/i18n/crowdin/codeorg_etags.json, 34830 changes (17415 additions, 17415 deletions).
  • Commit: dashboard i18n updates - Bulgarian
    • 3803 changes (3695 additions, 108 deletions).
    • 24 files changed.
    • File with the most changes: dashboard/config/locales/behavior_names.bg-BG.json, 2539 changes (2539 additions, 0 deletions).
  • Commit: dashboard i18n updates - Arabic
    • 3603 changes (1009 additions, 2594 deletions).
    • 11 files changed.
    • File with the most changes: dashboard/config/locales/activity_sections.ar-SA.json, 1955 changes (308 additions, 1647 deletions).
  • Commit: dashboard i18n updates - I18n Pseudo-Language
    • 2852 changes (2261 additions, 591 deletions).
    • 25 files changed.
    • File with the most changes: dashboard/config/locales/resources.in-TL.json, 718 changes (717 additions, 1 deletions).
  • Commit: pegasus i18n markdown updates
    • 1879 changes (1058 additions, 821 deletions).
    • 80 files changed.
    • File with the most changes: pegasus/sites.v3/code.org/i18n/public/coldplay.in-TL.md.partial, 53 changes (28 additions, 25 deletions).

@annaxuphoto annaxuphoto merged commit dc88a86 into staging Apr 1, 2022
@annaxuphoto annaxuphoto deleted the i18n-sync-down-out-03-31-2022 branch April 1, 2022 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants