forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add localization support for strings in typescript code #463
Labels
debt
Covers everything internal: CI, testing, refactoring of the codebase, etc.
feature-request
Request for new features or functionality
Comments
DonJayamanne
added
awaiting 1-decision
debt
Covers everything internal: CI, testing, refactoring of the codebase, etc.
feature-request
Request for new features or functionality
and removed
awaiting 1-decision
labels
Dec 20, 2017
5 tasks
This comment has been minimized.
This comment has been minimized.
Changed to #2757 |
DonJayamanne
pushed a commit
that referenced
this issue
Oct 9, 2018
Creation of a new module - localize. This doesn't use the vscode-nls and vscode-nls-dev as they interfere with our code coverage. Adding new strings requires adding them to the localize.ts and the localize.nls.<locale>.json files. Future work would be to translate the nls.json files into xlf files for the loc team to own. We'd then write a build time task to turn the xlf files into the output nls.<locale>.json files so that this code works the same. For #463
Closing as this has been implemented. |
@DonJayamanne you said you were closing this but it's still open. Should it be closed? |
The code has been implemented, however we need the loc team to provide the translations (localized |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
debt
Covers everything internal: CI, testing, refactoring of the codebase, etc.
feature-request
Request for new features or functionality
Research the use of https://github.com/Microsoft/vscode-nls-dev
This adds support for localization of strings within Typescript and JS.
We should at least consider preparing for something similar to this, instead of hardcoding strings in TS and JS (as this only piles up the code that may need to be refactored).
The text was updated successfully, but these errors were encountered: