diff options
| author | Baoyuan <baoyuan.top@gmail.com> | 2021-07-30 10:10:04 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-30 08:10:04 -0700 |
| commit | 29cf936735c74a8981f8508c91f981f3c0a697ba (patch) | |
| tree | 4fc302a9549a69b68838dd3ce7687d146b113954 /README.md | |
| parent | 3d496939938137e20eb71d570b9962cfd4838d51 (diff) | |
feat: add Language contribution guide in README (#120)
* fix: unmatched title
* feat: add Language contribution guide
* fix: update README
* Update README.md
Co-authored-by: Ben Woodward <benjamindwoodward@gmail.com>
* Update README.md
Co-authored-by: Ben Woodward <benjamindwoodward@gmail.com>
Co-authored-by: Ben Woodward <benjamindwoodward@gmail.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
| @@ -26,6 +26,15 @@ make run | |||
| 26 | 26 | ||
| 27 | This project uses [Prettier](https://prettier.io/) formatting. All pull requests must pass the automated lint checks before merging. Prettier format is run automatically as a pre-commit hook. | 27 | This project uses [Prettier](https://prettier.io/) formatting. All pull requests must pass the automated lint checks before merging. Prettier format is run automatically as a pre-commit hook. |
| 28 | 28 | ||
| 29 | ## Language Contribution Guide | ||
| 30 | |||
| 31 | We would love for you to contribute to different languages and help make it even better than it is today! As a language contributor, here are some steps we would like you to follow: | ||
| 32 | |||
| 33 | 1. Add a translation to [`./src/i18n.js`](./src/i18n.js) | ||
| 34 | 2. Add the language option to [`./src/App.js`](./src/App.js) in the format `latinName - nativeName`, e.g. `French - Français` | ||
| 35 | 3. If the languages added require RTL direction, add the language keys to RTL_LANGUAGES constant in ./src/App.js. | ||
| 36 | 4. Add an entry to the translation-table in README.md. | ||
| 37 | |||
| 29 | ## Supported Languages | 38 | ## Supported Languages |
| 30 | 39 | ||
| 31 | | Language | Author Credit | | 40 | | Language | Author Credit | |
