Skip to content

Commit

Permalink
Update locales to match current engine core/translation.cpp
Browse files Browse the repository at this point in the history
Fixes godotengine/godot#42236.

Make codespell skip the Telugu line, otherwise it wants to change `te` to `the`
(I don't want to put it as a global word ignore as it's a common typo.)
  • Loading branch information
akien-mga committed Sep 22, 2020
1 parent 5a5fb6c commit e8033a6
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Linter checks
run: |
bash _tools/format.sh
codespell -I _tools/codespell-ignore.txt {about,community,development,getting_started,tutorials}/**/*.rst
codespell -I _tools/codespell-ignore.txt -x _tools/codespell-ignore-lines.txt {about,community,development,getting_started,tutorials}/**/*.rst
- name: Sphinx build
run: |
Expand Down
1 change: 1 addition & 0 deletions _tools/codespell-ignore-lines.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| te | Telugu |
34 changes: 22 additions & 12 deletions tutorials/i18n/locales.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
Locales
=======

.. Note: This list is synced with core/translation.cpp in the engine.
This is the list of supported locales and variants in the engine. It's
based on the Unix standard locale strings:

Expand Down Expand Up @@ -61,6 +63,8 @@ based on the Unix standard locale strings:
+--------------+------------------------------------+
| ar_SD | Arabic (Sudan) |
+--------------+------------------------------------+
| ar_SS | Arabic (South Sudan) |
+--------------+------------------------------------+
| ar_SY | Arabic (Syria) |
+--------------+------------------------------------+
| ar_TN | Arabic (Tunisia) |
Expand Down Expand Up @@ -199,8 +203,6 @@ based on the Unix standard locale strings:
+--------------+------------------------------------+
| en_NG | English (Nigeria) |
+--------------+------------------------------------+
| en_MT | English (Malta) |
+--------------+------------------------------------+
| en_NZ | English (New Zealand) |
+--------------+------------------------------------+
| en_PH | English (Philippines) |
Expand Down Expand Up @@ -279,6 +281,8 @@ based on the Unix standard locale strings:
+--------------+------------------------------------+
| fi_FI | Finnish (Finland) |
+--------------+------------------------------------+
| fil | Filipino |
+--------------+------------------------------------+
| fil_PH | Filipino (Philippines) |
+--------------+------------------------------------+
| fo_FO | Faroese (Faroe Islands) |
Expand Down Expand Up @@ -375,6 +379,8 @@ based on the Unix standard locale strings:
+--------------+------------------------------------+
| kab_DZ | Kabyle (Algeria) |
+--------------+------------------------------------+
| ka | Georgian |
+--------------+------------------------------------+
| ka_GE | Georgian (Georgia) |
+--------------+------------------------------------+
| kk_KZ | Kazakh (Kazakhstan) |
Expand Down Expand Up @@ -435,14 +441,18 @@ based on the Unix standard locale strings:
+--------------+------------------------------------+
| mhr_RU | Eastern Mari (Russia) |
+--------------+------------------------------------+
| mi | Maori |
+--------------+------------------------------------+
| mi_NZ | Maori (New Zealand) |
+--------------+------------------------------------+
| miq_NI | Mískito (Nicaragua) |
| miq_NI | Mískito (Nicaragua) |
+--------------+------------------------------------+
| mk | Macedonian |
+--------------+------------------------------------+
| mk_MK | Macedonian (Macedonia) |
+--------------+------------------------------------+
| ml | Malayalam |
+--------------+------------------------------------+
| ml_IN | Malayalam (India) |
+--------------+------------------------------------+
| mni_IN | Manipuri (India) |
Expand All @@ -461,7 +471,7 @@ based on the Unix standard locale strings:
+--------------+------------------------------------+
| my_MM | Burmese (Myanmar) |
+--------------+------------------------------------+
| myv_RU | Erzya (Russia) |
| myv_RU | Erzya (Russia) |
+--------------+------------------------------------+
| nah_MX | Nahuatl languages (Mexico) |
+--------------+------------------------------------+
Expand Down Expand Up @@ -495,10 +505,6 @@ based on the Unix standard locale strings:
+--------------+------------------------------------+
| nn_NO | Norwegian Nynorsk (Norway) |
+--------------+------------------------------------+
| no | Norwegian |
+--------------+------------------------------------+
| no_NO | Norwegian (Norway) |
+--------------+------------------------------------+
| nr_ZA | South Ndebele (South Africa) |
+--------------+------------------------------------+
| nso_ZA | Pedi (South Africa) |
Expand Down Expand Up @@ -577,6 +583,8 @@ based on the Unix standard locale strings:
+--------------+------------------------------------+
| sid_ET | Sidamo (Ethiopia) |
+--------------+------------------------------------+
| si | Sinhala |
+--------------+------------------------------------+
| si_LK | Sinhala (Sri Lanka) |
+--------------+------------------------------------+
| sk | Slovak |
Expand All @@ -585,6 +593,8 @@ based on the Unix standard locale strings:
+--------------+------------------------------------+
| sl | Slovenian |
+--------------+------------------------------------+
| sl_SI | Slovenian (Slovenia) |
+--------------+------------------------------------+
| so | Somali |
+--------------+------------------------------------+
| so_DJ | Somali (Djibouti) |
Expand All @@ -607,9 +617,9 @@ based on the Unix standard locale strings:
+--------------+------------------------------------+
| sr | Serbian |
+--------------+------------------------------------+
| sr_BA | Serbian (Bosnia and Herzegovina) |
| sr_Cyrl | Serbian (Cyrillic) |
+--------------+------------------------------------+
| sr_CS | Serbian (Serbia and Montenegro) |
| sr_Latn | Serbian (Latin) |
+--------------+------------------------------------+
| sr_ME | Serbian (Montenegro) |
+--------------+------------------------------------+
Expand Down Expand Up @@ -639,6 +649,8 @@ based on the Unix standard locale strings:
+--------------+------------------------------------+
| tcy_IN | Tulu (India) |
+--------------+------------------------------------+
| te | Telugu |
+--------------+------------------------------------+
| te_IN | Telugu (India) |
+--------------+------------------------------------+
| tg_TJ | Tajik (Tajikistan) |
Expand All @@ -649,8 +661,6 @@ based on the Unix standard locale strings:
+--------------+------------------------------------+
| th_TH | Thai (Thailand) |
+--------------+------------------------------------+
| th_TH_TH | Thai (Thailand, TH) |
+--------------+------------------------------------+
| ti | Tigrinya |
+--------------+------------------------------------+
| ti_ER | Tigrinya (Eritrea) |
Expand Down

0 comments on commit e8033a6

Please sign in to comment.