-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Document process for adding new localized strings #20418
Comments
Add the message to https://github.com/Microsoft/TypeScript/blob/master/src/compiler/diagnosticMessages.json, run We have a script that will send the new strings added nightly to our loc team, and they will merge in the new localized strings independently. the time depends on multiple factors, but usually within a week or two the string should be localized in all languages. but you do not need to worry about this, I can take care of that. If a message is not localized in a specific language, the text will show in English. |
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed. |
* Added localization instructions to CONTRIBUTING.md Fixes #20418 * Corrected mention of generated ts file * Mentioned coding guidelines
Scenario: You'd like to add a new diagnostic message in the CLI, and don't know where to start.
From existing pull requests, it looks like it's as simple as adding an entry in
diagnosticMessages.json
.The text was updated successfully, but these errors were encountered: