Skip to content

I18n sync Down & Out 04/08 - #51229

Merged
mgc1194 merged 86 commits into
stagingfrom
i18n-sync-down-out-04-08-2023
Apr 9, 2023
Merged

I18n sync Down & Out 04/08#51229
mgc1194 merged 86 commits into
stagingfrom
i18n-sync-down-out-04-08-2023

Conversation

@deploy-code-org

Copy link
Copy Markdown
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 April 8, 2023 04:15
@deploy-code-org

Copy link
Copy Markdown
Contributor Author

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

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

  • bin/i18n/crowdin/codeorg_etags.json, 81795 changes (40950 additions, 40845 deletions).
  • dashboard/config/locales/dsls.it-IT.yml, 10054 changes (6712 additions, 3342 deletions).
  • dashboard/config/locales/activity_sections.sm-WS.json, 9194 changes (9194 additions, 0 deletions).
  • dashboard/config/locales/dsls.sm-WS.yml, 9170 changes (9170 additions, 0 deletions).
  • dashboard/config/locales/lesson_activities.sm-WS.json, 4265 changes (4265 additions, 0 deletions).

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

  • Commit: etags updates
    • 81982 changes (41045 additions, 40937 deletions).
    • 4 files changed.
    • File with the most changes: bin/i18n/crowdin/codeorg_etags.json, 81795 changes (40950 additions, 40845 deletions).
  • Commit: dashboard i18n updates - Samoan
    • 30145 changes (30145 additions, 0 deletions).
    • 58 files changed.
    • File with the most changes: dashboard/config/locales/activity_sections.sm-WS.json, 9194 changes (9194 additions, 0 deletions).
  • Commit: dashboard i18n updates - Italian
    • 12079 changes (8542 additions, 3537 deletions).
    • 29 files changed.
    • File with the most changes: dashboard/config/locales/dsls.it-IT.yml, 10054 changes (6712 additions, 3342 deletions).
  • Commit: apps i18n updates
    • 9745 changes (9683 additions, 62 deletions).
    • 300 files changed.
    • File with the most changes: apps/i18n/common/sm_ws.json, 1849 changes (1849 additions, 0 deletions).
  • Commit: dashboard i18n updates - Turkish
    • 2961 changes (2357 additions, 604 deletions).
    • 24 files changed.
    • File with the most changes: dashboard/config/locales/activity_sections.tr-TR.json, 721 changes (502 additions, 219 deletions).

@mgc1194 mgc1194 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

A lot of new content added (micro:bit launched, new musiclab content) and Samoan added to supported languages, made this a large sync down & out,

@mgc1194
mgc1194 merged commit ff0c69d into staging Apr 9, 2023
@mgc1194
mgc1194 deleted the i18n-sync-down-out-04-08-2023 branch April 9, 2023 01: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.

2 participants