Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

port localization to stable#2962

Merged
ocallesp merged 7 commits into
dotnet:mainfrom
colombod:lockalization_stable
May 5, 2023
Merged

port localization to stable#2962
ocallesp merged 7 commits into
dotnet:mainfrom
colombod:lockalization_stable

Conversation

@colombod

@colombod colombod commented May 3, 2023

Copy link
Copy Markdown
Member

No description provided.

Comment thread src/polyglot-notebooks-vscode/do-version-upgrade.ps1
Comment thread src/polyglot-notebooks-vscode/do-version-upgrade.ps1
@colombod
colombod force-pushed the lockalization_stable branch from ace0f0f to 41191d9 Compare May 4, 2023 12:04
@colombod
colombod marked this pull request as ready for review May 4, 2023 20:00
@colombod
colombod force-pushed the lockalization_stable branch from 41191d9 to 1a8e6a5 Compare May 4, 2023 21:30
Remove-Item -Path "$stableDirectory\src\*" -Filter "*.ts"
Copy-Item -Path "$insidersDirectory\src\*" -Destination "$stableDirectory\src\" -Filter "*.ts"

# copy localization files

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.

Quick question: So if we have this in the script, do we still need the package.nls.*.json files below? Looks like they exist here: https://github.com/dotnet/interactive/tree/main/src/polyglot-notebooks-vscode-insiders

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.

package.nls.*.json should override the existing ones to keep in sync with the ones in insiders

"@vscode/l10n": "^0.0.10"
"@vscode/l10n": "0.0.10"
}
} No newline at end of file

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.

"l10n": "./l10n" needs to be added to package.json like in insiders in order to recognize the strings in l10n\bungle.l10n.json

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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

the release branch has that change already

@ocallesp

ocallesp commented May 5, 2023

Copy link
Copy Markdown
Contributor

Polyglot-notebooks-vscode
Testing Spanish
image

Testing English
image

@ocallesp
ocallesp merged commit a5c8615 into dotnet:main May 5, 2023
@colombod
colombod deleted the lockalization_stable branch May 5, 2023 06:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants