Skip to content

i18n: Update translations#411

Merged
illume merged 3 commits into
Azure:mainfrom
sniok:onboarding-translations
Mar 11, 2026
Merged

i18n: Update translations#411
illume merged 3 commits into
Azure:mainfrom
sniok:onboarding-translations

Conversation

@sniok
Copy link
Copy Markdown
Collaborator

@sniok sniok commented Mar 11, 2026

  • Adds translations from onboarding PR (can't merge that one because commits are not signed)
  • Update translation-manager script to preserve old keys when distributing translations
  • Ran npm run i18n in the plugins/aks-dekstop/, they were outdated
  • Collect new translations, so the translation team has the most recent locale

How to test:

  • Run npm run i18n in plugins/aks-desktop and make sure it's up to date
  • Run npm run i18n:collect in root folder to make sure all translations are collected properly

Todo:
I'll add a i18n check to CI for plguins/aks-dekstop in a future PR

Copilot AI review requested due to automatic review settings March 11, 2026 16:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates localization assets and the localization distribution workflow so AKS Desktop and frontend translation artifacts stay current and OneLocBuild distribution preserves previously-existing keys.

Changes:

  • Adjust Localize/translation-manager.mjs distribution to merge into existing locale JSON instead of replacing it.
  • Refresh AKS Desktop plugin locale files across multiple languages with newly collected/updated keys.
  • Add/collect additional Localize/locales/* artifacts (e.g., frontend-app.json, frontend-glossary.json) and update English frontend-translation.json.

Reviewed changes

Copilot reviewed 49 out of 94 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
plugins/aks-desktop/locales/zh-Hant/translation.json Refresh plugin locale keys (zh-Hant) to match latest collected strings.
plugins/aks-desktop/locales/zh-Hans/translation.json Refresh plugin locale keys (zh-Hans) to match latest collected strings.
plugins/aks-desktop/locales/tr/translation.json Refresh plugin locale keys (tr) to match latest collected strings.
plugins/aks-desktop/locales/sv/translation.json Refresh plugin locale keys (sv) to match latest collected strings.
plugins/aks-desktop/locales/ru/translation.json Refresh plugin locale keys (ru) to match latest collected strings.
plugins/aks-desktop/locales/pt-PT/translation.json Refresh plugin locale keys (pt-PT) to match latest collected strings.
plugins/aks-desktop/locales/pt-BR/translation.json Refresh plugin locale keys (pt-BR) to match latest collected strings.
plugins/aks-desktop/locales/pl/translation.json Refresh plugin locale keys (pl) to match latest collected strings.
plugins/aks-desktop/locales/nl/translation.json Refresh plugin locale keys (nl) to match latest collected strings.
plugins/aks-desktop/locales/ko/translation.json Refresh plugin locale keys (ko) to match latest collected strings.
plugins/aks-desktop/locales/ja/translation.json Refresh plugin locale keys (ja) to match latest collected strings.
plugins/aks-desktop/locales/it/translation.json Refresh plugin locale keys (it) to match latest collected strings.
plugins/aks-desktop/locales/id/translation.json Refresh plugin locale keys (id) to match latest collected strings.
plugins/aks-desktop/locales/hu/translation.json Refresh plugin locale keys (hu) to match latest collected strings.
plugins/aks-desktop/locales/fr/translation.json Refresh plugin locale keys (fr) to match latest collected strings.
plugins/aks-desktop/locales/es/translation.json Refresh plugin locale keys (es) to match latest collected strings.
plugins/aks-desktop/locales/de/translation.json Refresh plugin locale keys (de) to match latest collected strings.
plugins/aks-desktop/locales/cs/translation.json Refresh plugin locale keys (cs) to match latest collected strings.
Localize/translation-manager.mjs Change distribution to preserve/merge existing keys when writing locale files.
Localize/locales/zh-Hant/frontend-app.json Add collected frontend “app” namespace strings for zh-Hant.
Localize/locales/zh-Hans/frontend-glossary.json Add collected frontend glossary strings for zh-Hans.
Localize/locales/zh-Hans/frontend-app.json Add collected frontend “app” namespace strings for zh-Hans.
Localize/locales/tr/frontend-app.json Add collected frontend “app” namespace strings for tr.
Localize/locales/sv/frontend-app.json Add collected frontend “app” namespace strings for sv.
Localize/locales/ru/frontend-app.json Add collected frontend “app” namespace strings for ru.
Localize/locales/pt-PT/frontend-app.json Add collected frontend “app” namespace strings for pt-PT.
Localize/locales/pt-BR/frontend-app.json Add collected frontend “app” namespace strings for pt-BR.
Localize/locales/pl/frontend-app.json Add collected frontend “app” namespace strings for pl.
Localize/locales/nl/frontend-app.json Add collected frontend “app” namespace strings for nl.
Localize/locales/ko/frontend-app.json Add collected frontend “app” namespace strings for ko.
Localize/locales/ja/frontend-app.json Add collected frontend “app” namespace strings for ja.
Localize/locales/it/frontend-app.json Add collected frontend “app” namespace strings for it.
Localize/locales/id/frontend-glossary.json Add collected frontend glossary strings for id.
Localize/locales/id/frontend-app.json Add collected frontend “app” namespace strings for id.
Localize/locales/hu/frontend-app.json Add collected frontend “app” namespace strings for hu.
Localize/locales/fr/frontend-app.json Add collected frontend “app” namespace strings for fr.
Localize/locales/es/frontend-app.json Add collected frontend “app” namespace strings for es.
Localize/locales/de/frontend-app.json Add collected frontend “app” namespace strings for de.
Localize/locales/cs/frontend-app.json Add collected frontend “app” namespace strings for cs.
Localize/locales/en/frontend-translation.json Update collected English frontend translation keys for OneLocBuild.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Localize/translation-manager.mjs
Comment thread plugins/aks-desktop/locales/tr/translation.json
Comment thread Localize/locales/it/frontend-app.json
@illume
Copy link
Copy Markdown
Collaborator

illume commented Mar 11, 2026

Oh, I merged the other PR in. Can you please remove that first commit?

@illume illume marked this pull request as draft March 11, 2026 18:36
@sniok sniok force-pushed the onboarding-translations branch from aacee53 to a05da15 Compare March 11, 2026 18:38
@sniok sniok marked this pull request as ready for review March 11, 2026 18:38
Copilot AI review requested due to automatic review settings March 11, 2026 18:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 22 out of 22 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread plugins/aks-desktop/locales/en/translation.json
Comment thread Localize/locales/en/plugin-translation.json
Copy link
Copy Markdown
Collaborator

@illume illume left a comment

Choose a reason for hiding this comment

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

Thanks!

@illume illume merged commit 9d568ee into Azure:main Mar 11, 2026
11 checks passed
@illume illume mentioned this pull request Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants