# Add a new language


If you want to add a translation for OpenSupports, you'll need to create a Pull Request to this repository from a fork with the necessary code changes.

The changes that need to be made are the following:

  1. Create corresponding .js translation file in the folder client/src/data/languages, you can take en.js as a template. Please use a two-letter code for each language.
  2. Add the language code and require the newly created file in language-list.js
  3. Add the language code to the LANGUAGES constant in Language.php
  4. Create a element with the language code in the array returned by getTexts() in MailTexts.php. Insert the corresponding translations for each mail template.

Once the changes are made, you can create a PR with those. Once it's merged, you will need to wait to the next OpenSupports release to see the changes.

If you want to test the changes you can build your own version by setting up the development environment and building a package. It will create a .zip file ready for installation with your changes.