Guide for viewers, explaining the various features available on our extension in multiple languages
- Clone the repository
- Open the repository and run
pnpm ito install the dependencies - Run
pnpm devto start the development server - Open
http://localhost:5173in your browser
Thank you for your interest in contributing to our guide translations! Your help is invaluable in making this extension accessible to a global audience. Here's how you can contribute:
All translations are stored in the src/assets/langs/ directory. Each language has its own JSON file. For example:
- English:
src/assets/langs/en.json - French:
src/assets/langs/fr.json - Spanish:
src/assets/langs/es.json
-
Add or Modify Language Files:
- Add or modify language files in the
src/assets/langs/directory. You'll find various files already named with ISO 639-1 language codes.
For Adding a New Language:
- Ensure the file contains the same number of lines as other files to verify that nothing has been missed.
- Add your language's name in your language to the
src/assets/langs/available_langs.jsonfile. For example, for French:"fr": "Français".
- Add or modify language files in the
-
Submit a Pull Request:
- Create a branch for your changes.
- Once your changes are made, submit a pull request with a description of the modifications made or the new language added.
For an example of a typical pull request, you can refer to this PR.
- Consistency: Ensure your translation aligns with the tone and style of other languages.
- Accuracy: Verify that your translation is correct and free of errors.