Skip to content

Conversation

@nagilson
Copy link
Member

Test adding localization to the extension using the new L10N Method devised by VS Code.

Has some bad Japanese which is done via google translate. Proof of concept.

Need to verify strings with args and that setting the language in vscode actually impacts the language of the tool.

Some errors need to get put into the log in english and put into the user window (error handler) not in english. But they have embedded args which are part of the string that need to go into the log and are not available past the time the error is thrown, We will likely need to create our own simple localizableString class with string and the args array that the log will parse and then l10n can parse for the user facing output.

We can do the same and handle event strings in the output channel observer, etc.

Does not include @vscode/l10n @vscode/l10n-dev in the package jsons as that seems to be a - for vscode internal, and b - a global npm tool invoke-able via npx.

Test adding localization to the extension using the new L10N Method devised by VS Code.

Has some bad Japanese which is done via google translate. Proof of concept.

Need to verify strings with args and that setting the language in vscode actually impacts the language of the tool.

Some errors need to get put into the log in english and put into the user window (error handler) not in english. But they have embedded args which are part of the string that need to go into the log and are not available past the time the error is thrown, We will likely need to create our own simple localizableString class with string and the args array that the log will parse and then l10n can parse for the user facing output.

We can do the same and handle event strings in the output channel observer, etc.

Does not include @vscode/l10n @vscode/l10n-dev in the package jsons as that seems to be a - for vscode internal, and b - a global npm tool invoke-able via npx.
Copy link

@MsTxBunny MsTxBunny left a comment

Choose a reason for hiding this comment

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

ok

Copy link

@MsTxBunny MsTxBunny left a comment

Choose a reason for hiding this comment

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

YES

Copy link

@MsTxBunny MsTxBunny left a comment

Choose a reason for hiding this comment

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

YES

Copy link

@MsTxBunny MsTxBunny left a comment

Choose a reason for hiding this comment

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

YES

Copy link

@MsTxBunny MsTxBunny left a comment

Choose a reason for hiding this comment

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

YES

Copy link

@MsTxBunny MsTxBunny left a comment

Choose a reason for hiding this comment

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

YES

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.

2 participants