Skip to content

Contribute

Alex Terehov edited this page May 23, 2024 · 8 revisions

Glad to know you want to contribute! Thanks in advance.

Help Translating

If you would like to help translate this extension, you can do it by following steps.

We recommend you to use VSCode with i18n-ally. It supports i18n for VSCode extension development which can help you translate itself 😁.

  1. Fork and clone this repo.
  2. Create new file <locale-code>.json under ./locales directory.
  3. Translate messages in the new JSON file you created. (You may utilize the i18n Ally: Fulfill keys with empty strings command)
  4. You may also add your name to the translation contributors table.
  5. Commit changes and make a PR

Much appreciated! 谢谢你!

Extension Development

You would need to

Video demo of contributing to i18n Ally VSCode extension

Prerequisites:

  • VS Code to contribute to the extension development,
  • node version: v18.19.0
  • yarn version: 1.22.19
  • Extensions listed in the project recommendation.

Development:

  1. Install the dependencies with yarn install
  2. Run "Debug" (it would be automatically preconfigured) -- press F5 or go to "Run and debug" and click on ▶️ "Start debugging".
  3. A new VS Code instance with an extension loaded would start.

After making changes in the extension source code, you will need to click the "Restart" button on the debug panel to update: image