Creating a new translation
Before you start working on a new language, please look through the open pull requests to see if anyone is already working on a translation. If you find one, please join the discussion and help us keep the existing translations up to date. if there is no existing translation, you can create a new one by following these steps:- Fork the repository.
- Checkout the
main
branch for latest translations. - Create a new branch for your translation with base branch
main
. - Create target language file in the
/packages/hoppscotch-common/locales
directory. - Copy the contents of the source file
/packages/hoppscotch-common/locales/en.json
to the target language file. - Translate the strings in the target language file.
- Add your language entry to
/packages/hoppscotch-common/languages.json
. - Save and commit changes.
- Send a pull request.