Skip to content

Add sessions support to translation resources and update related logic#300889

Merged
TylerLeonhardt merged 3 commits intomainfrom
tyler/current-crawdad
Mar 11, 2026
Merged

Add sessions support to translation resources and update related logic#300889
TylerLeonhardt merged 3 commits intomainfrom
tyler/current-crawdad

Conversation

@TylerLeonhardt
Copy link
Member

Fixes #300278

Copilot AI review requested due to automatic review settings March 11, 2026 19:35
@TylerLeonhardt TylerLeonhardt enabled auto-merge (squash) March 11, 2026 19:35
@TylerLeonhardt TylerLeonhardt self-assigned this Mar 11, 2026
@vs-code-engineering vs-code-engineering bot added this to the 1.112.0 milestone Mar 11, 2026
Copy link
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

This PR extends the build-time localization (XLF) resource mapping to recognize the vs/sessions source tree as its own Transifex project (vscode-sessions), aligning Sessions with existing editor/workbench/server localization handling.

Changes:

  • Add vscode-sessions project handling in build/lib/i18n.ts (getResource) and adjust translation import logic to skip sessions/setup in prepareI18nPackFiles.
  • Add a sessions resource group to build/lib/i18n.resources.json.
  • Extend the i18n unit test and the local ESLint translation reminder rule to account for Sessions paths.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
build/lib/test/i18n.test.ts Adds assertions for vs/sessions resource mapping.
build/lib/i18n.ts Introduces vscode-sessions project mapping for XLF bundling and adjusts import filtering.
build/lib/i18n.resources.json Adds a sessions section listing Sessions resources/projects.
.eslint-plugin-local/code-translation-remind.ts Attempts to include Sessions contrib paths in the translation resource reminder rule.

You can also share your feedback on Copilot code review. Take the survey.

@TylerLeonhardt TylerLeonhardt merged commit 2f42f2e into main Mar 11, 2026
20 checks passed
@TylerLeonhardt TylerLeonhardt deleted the tyler/current-crawdad branch March 11, 2026 20:38
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.

Are l8n pipelines running?

3 participants