Repository navigation
Enable translations for extension code for the web - #155355
Merged
Merged
Conversation
TylerLeonhardt
requested review from
Alexandru Dima (alexdima),
Dirk Bäumer (dbaeumer) and
Sandeep Somavarapu (sandy081)
July 16, 2022 00:35
Alexandru Dima (alexdima)
previously approved these changes
Jul 27, 2022
Alexandru Dima (alexdima)
left a comment
Member
There was a problem hiding this comment.
Looks super reasonable! I just left a couple of comments. Once you tackle those, could we please create a build with this so we could test it?
TylerLeonhardt
dismissed stale reviews from Alexandru Dima (alexdima) and Sandeep Somavarapu (sandy081)
via
July 28, 2022 18:07
b0e4241
TylerLeonhardt
marked this pull request as ready for review
August 8, 2022 16:10
Member
Author
|
Actually this PR doesn't take advantage of vscode-nls 5.1.0 yet so this can just be merged in independently |
Joyce Er (joyceerhl)
pushed a commit
that referenced
this pull request
Aug 10, 2022
* Initial attempt * alex feedback
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes #
Depends on microsoft/vscode-nls#42
In short, the strategy is to load the message bundles ahead of time and then when the extension is getting loaded, return the pre-loaded strings.
The strategies are slightly different because the scanners are slightly different:
Please review this very harshly. This is code I am unfamiliar with and is owned by several folks.