aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 14 insertions, 4 deletions
diff --git a/README.md b/README.md
index 70efe1b..c3da32d 100644
--- a/README.md
+++ b/README.md
@@ -30,10 +30,20 @@ This project uses [Prettier](https://prettier.io/) formatting. All pull requests
30 30
31We 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: 31We 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 32
331. Add a translation to [`./src/i18n.js`](./src/i18n.js) 331. Add a translation to [`./src/translations.js`](./src/translations.js), e.g.:
342. Add the language option in alphabetical order to [`./src/components/Settings.js`](./src/components/Settings.js) in the format `latinName - nativeName`, e.g. `French - Français` 34
353. If the languages added require RTL direction, add the language keys to RTL_LANGUAGES constant in [`./src/App.js`](./src/App.js) 35 ```
364. Append an entry to the [Supported Languages](#supported-languages) table in below. 36 {
37 id: 'de-DE', // locale code
38 name: 'German - Deutsch', // Display name in the format 'latinName - nativeName'
39 rtl: true, // Optional, true if this is a right-to-left language
40 translation: {
41 ...
42 }
43 }
44 ```
45
462. Append an entry to the [Supported Languages](#supported-languages) table in below.
37 47
38## Supported Languages 48## Supported Languages
39 49