Skip to content

Commit

Permalink
Add information on adding languages
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter committed Jul 18, 2024
1 parent 156de15 commit 699d87c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,12 @@ When submitting a bug report, please make sure to include this information:
* What OS are you using?
* Steps to reproduce.

## Adding a new translation

By running cmake with the `-DTRANSLATION_SUPPORT=1` option, translation support can be enabled. To add a new language, for example German, you would run the following command:

```
platform/add-translation.sh de
```

In this case `de` is the code the the German language. A `.po` file will be created in `assets/languages` for the new language. This file can be edited with poedit or a text editor. Feel free to add you language and make a pull request.

0 comments on commit 699d87c

Please sign in to comment.