Skip to content

Commit d72ae34

Browse files
authored
docs: add translations contribution guide (#3360)
1 parent ac749b7 commit d72ae34

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ GitHub Readme Stats supports custom theming, and you can also contribute new the
5858
5959
To contribute your theme you need to edit the [themes/index.js](./themes/index.js) file and add it at the end of the file.
6060

61+
## Translations Contribution
62+
63+
GitHub Readme Stats supports multiple languages, if we are missing your language, you can contribute it! You can check the currently supported languages [here](./readme.md#available-locales).
64+
65+
To contribute your language you need to edit the [src/translations.js](./src/translations.js) file and add new property to each object where the key is the language code in [ISO 639-1 standard](https://www.andiamo.co.uk/resources/iso-language-codes/) and the value is the translated string.
66+
6167
## Any contributions you make will be under the MIT Software License
6268

6369
In short, when you submit changes, your submissions are understood to be under the same [MIT License](http://choosealicense.com/licenses/mit/) that covers the project. Feel free to contact the maintainers if that's a concern.

0 commit comments

Comments
 (0)