Readme
This commit is contained in:
parent
22236330ab
commit
04e43911ff
10
README.md
10
README.md
|
@ -7,12 +7,12 @@ To install `npm install @recogito/recogito-client-core`
|
|||
|
||||
## Contributing UI Translations
|
||||
|
||||
If you want to contribute UI translations to Annotorious or RecogitoJS, you've come to the right place.
|
||||
If you want to contribute UI translations to Annotorious or RecogitoJS, you've come to the right place!
|
||||
In [this folder](https://github.com/recogito/recogito-client-core/tree/main/src/i18n)
|
||||
you will find `messages` files, one file for each available translation.
|
||||
you will find `messages` files, one file for each translation.
|
||||
|
||||
Each `messages` file is a dictionary of the default English labels and their translations. For example,
|
||||
here's what the German translation file `messages_de.json` looks like.
|
||||
Each `messages` file is a dictionary of the English labels and their translations. For example,
|
||||
here's the German translation file `messages_de.json`.
|
||||
|
||||
```json
|
||||
{
|
||||
|
@ -33,7 +33,7 @@ here's what the German translation file `messages_de.json` looks like.
|
|||
- Add a message file to the [src/i18n folder](https://github.com/recogito/recogito-client-core/tree/main/src/i18n)
|
||||
named `messages_{iso}.json`, where {iso} is the 2-character ISO code of the language.
|
||||
- Copy the dictionary above, and replace the translations accordingly.
|
||||
- [Send us a pull request](https://www.freecodecamp.org/news/how-to-make-your-first-pull-request-on-github-3/)
|
||||
- [Send a pull request](https://www.freecodecamp.org/news/how-to-make-your-first-pull-request-on-github-3/)
|
||||
|
||||
Many thanks in advance! If you have questions, do get in touch via the [Annotorious](https://gitter.im/recogito/annotorious) or
|
||||
[RecogitoJS](https://gitter.im/recogito/recogito-js) chat on Gitter.
|
||||
|
|
Loading…
Reference in New Issue