mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-31 01:35:15 +02:00
Updated How to add a new language (markdown)
parent
c72a1adf2b
commit
1c3f46f664
@ -6,6 +6,6 @@ The changes that need to be made are the following:
|
||||
3. Add the language code to the `LANGUAGES` constant in [Language.php](https://github.com/opensupports/opensupports/blob/master/server/models/Language.php#L6)
|
||||
4. Create a element with the language code in the array returned by `getTexts()` in [MailTexts.php](https://github.com/opensupports/opensupports/blob/master/server/data/MailTexts.php). Insert the corresponding translations for each mail template.
|
||||
|
||||
One 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.
|
||||
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](https://github.com/opensupports/opensupports/blob/master/README.md#building). It will create a `.zip` file ready for installation with your changes.
|
Loading…
x
Reference in New Issue
Block a user