Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## next version

### Features:
* Add Information about how to create translations to CONTRIBUTE.md ([#PR35](https://github.com/WhereGroup/qgis2mapbender/pull/35))


## v1.1.0

### Features:
Expand Down
16 changes: 16 additions & 0 deletions CONTRIBUTE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Contribute

Contributors are welcome to extend the plugin's features further. Please fork the repository and make a pull request if your feature is ready. Just creating issues also helps to maintain the plugin working. Please, provide a meaningful example.

## Translations

Translation files are placed in the folder i18n of the plugin.

You can copy an existing .ts file and translate it to your language (sections translation).
Please name the new file according to the following scheme: `xx.ts`, where `xx` is the [ISO 639-1 language code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) of your language (e.g. `de` for German, `es` for Spanish, `it` for Italian, etc.).
You can use [Qt Linguist](https://doc.qt.io/qt-5/qtlinguist-index.html) to translate the strings in the .ts file.

You have to create a .qm file from the .ts file after translating it. You can use the `lrelease` tool from the Qt framework to do this. The command is as follows:

```
lrelease path/to/yourfile.ts
```

After translating the strings in the .ts file and the creation of the .qm file, please create a pull request with your new translation file included in the i18n folder of the repository. This way, your translation can be included in future releases of the plugin.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,6 @@ [email protected]

## License
The plugin is licensed under the attached GNU General Public License.

## Translations
Translation files are placed in the folder i18n of the plugin. If you want to contribute a translation, please have a look at the CONTRIBUTE.md file.