alefragnani / vscode-separators

Separators Extension for Visual Studio Code
GNU General Public License v3.0
40 stars 6 forks source link

[FEATURE] - Add translation to Simplified Chinese #97

Closed Stehsaer closed 6 months ago

Stehsaer commented 6 months ago

I hope to add Simplified Chinese language support for this extension, and I need some more info about how to add a translation.

alefragnani commented 6 months ago

Hi @Stehsaer ,

There are up to three different resources to be translated in VS Code extensions, and the Separators extension uses only two:

an oficial sample is located here https://github.com/microsoft/vscode-extension-samples/tree/main/l10n-sample

Simply create a new file named with the language-id you want (instead of the xxx), on the same location.

Follow the CONTRIBUTING.md file to know how to build and debug the extension, in order to test your translation.

Hope this helps

Stehsaer commented 6 months ago

Is it correct that, what I need to do is:

  1. Fork the repos based on the main branch and create a new branch in the forked repos
  2. Create new localization files and commit
  3. Create a pull request

I'm quite new to contributing in GitHub.

alefragnani commented 6 months ago

Yes, it is correct, and your PR was already merged

Thank you

Stehsaer commented 6 months ago

Literally, my first ever contribution to a public repository. Thanks for your guidance and also for creating this extension!

alefragnani commented 6 months ago

You did great! And I'm glad to know you like the extension.