Skip to content

Commit

Permalink
doc: Added links to Wikipedia to find your language code.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelLarkin committed Jul 18, 2023
1 parent bdcfb05 commit 12c74d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/language.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ Note that the choice of `DEFAULT_LOCALE` must be in the list `locales/all.json`.
## How to Add a New Language
Since we haven't found a wait to have the UI in one language and the utterances in another language, we've decided to add a new language code for the utterances and copy the localizations of English to that new language.
Note that you need to chose a valid iso code or else Common-Voice will not accept it.
You can find ISO-639-3 code here:
* [List of ISO 639-3 codes](https://en.wikipedia.org/wiki/List_of_ISO_639-3_codes) then click the first letter of your code.
* [List of ISO 639-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)

Let's see how to add `str` to Common-Voice:
* Add `str` to `locales/all.json` in order to get that new language to show up in the UI's top-right dropdown box;
Expand Down

0 comments on commit 12c74d6

Please sign in to comment.