-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
feat: Can we update support for multiple languages? #340
Comments
Interesting! I need to think about how I'd do this. If there are any similar tools that support translations today (ESLint? ava? Prettier?), please let me know and I will look at what they've done. |
To be clear, language support would start with the markdownlint library, then go into markdownlint-cli2, and then go into vscode-markdownlint. |
In fact, I am using eslint and prettier plugins, a plugin commonly used by Chinese vscode users Chinese (Simplified) (简体中文) Language Pack for Visual Studio Code And I'm still using this plugin Error Lens With the help of these plugins, my eslint and prettier warning messages here are all in Chinese, I don't know if this will help you. |
The description for that first plug-in you link to seems to be specific to VS Code. Are you saying that it also localizes third-party extensions like ESLint and Prettier? If so, could the same approach be applied here? |
Researching briefly, I do not see evidence of localization in the ESLint CLI. Here is an example where it writes English directly to the console: https://github.com/eslint/eslint/blob/04e7c6e0a24bd2d7691ae641e2dc0e6d538dcdfd/bin/eslint.js#L143 |
To be honest, I'm not sure about this. I'm just a user. Maybe I need to learn the development of the plugin to see if it can support i18n? |
Hello developers!
I am a Chinese user. I have been publishing articles using the markdown format for more than 2 years. I recently learned about this plug-in. It is very helpful in formatting markdown files. , the only regret is that the error message is not in Chinese, and you have to use translation software to check the content of the warning every time.
As mentioned above, I hope that the plugin can improve my or more Chinese users' writing efficiency by supporting Chinese. If allowed, I can help translate the plugin's warning messages, or developers can generate Chinese warnings separately through the i18n configuration. I can provide help with translation, but I don't know what content needs to be translated.
If it is convenient, you can take a screenshot to inform me which files need to be translated and where the translated files are stored. Can I try to submit a pull request?
The text was updated successfully, but these errors were encountered: