diff --git a/docs/_docs/refs/mojito-locales.md b/docs/_docs/refs/mojito-locales.md index db7d0d2465..fd53f42c8f 100644 --- a/docs/_docs/refs/mojito-locales.md +++ b/docs/_docs/refs/mojito-locales.md @@ -32,9 +32,12 @@ permalink: /docs/refs/mojito-locales/ | bn-IN | Bengali (India) | | bs-BA | Bosnian (Bosnia and Herzegovina) | | ca-ES | Catalan (Spain) | +| chr-021 | Cherokee (Northern America) | +| cr-021 | Cree (Northern America) | | cs-CZ | Czech (Czech Republic) | | cy-GB | Welsh (United Kingdom) | | da-DK | Danish (Denmark) | +| dak-021 | Dakota (Northern America) | | de-AT | German (Austria) | | de-CH | German (Switzerland) | | de-DE | German (Germany) | @@ -56,7 +59,7 @@ permalink: /docs/refs/mojito-locales/ | en-US | English (United States) | | en-ZA | English (South Africa) | | en-ZW | English (Zimbabwe) | -| en-419 | Spanish (Latin America) | +| es-419 | Spanish (Latin America) | | es-AR | Spanish (Argentina) | | es-BO | Spanish (Bolivia) | | es-CL | Spanish (Chile) | @@ -99,6 +102,7 @@ permalink: /docs/refs/mojito-locales/ | is-IS | Icelandic (Iceland) | | it-CH | Italian (Switzerland) | | it-IT | Italian (Italy) | +| iu-021 | Inuktitut (Northern America) | | ja-JP | Japanese (Japan) | | ka-GE | Georgian (Georgia) | | kk-KZ | Kazakh (Kazakhstan) | @@ -115,12 +119,15 @@ permalink: /docs/refs/mojito-locales/ | ms-BN | Malay (Brunei Darussalam) | | ms-MY | Malay (Malaysia) | | mt-MT | Maltese (Malta) | +| mus-021 | Creek (Northern America) | | nb-NO | Norwegian (Norway) | | nl-BE | Dutch (Belgium) | | nl-NL | Dutch (Netherlands) | | nn-NO | Norwegian (Nynorsk) (Norway) | | ns-ZA | Northern Sotho (South Africa) | +| nv-003 | Navajo (North America) | | ny-MW | Nyanja; Chewa; Chichewa (Malawi) | +| oj-021 | Ojibwa (Northern America) | | pa-IN | Punjabi (India) | | pl-PL | Polish (Poland) | | ps-AR | Pashto (Afghanistan) | @@ -157,6 +164,7 @@ permalink: /docs/refs/mojito-locales/ | uz-UZ | Uzbek (Uzbekistan) | | vi-VN | Vietnamese (Viet Nam) | | xh-ZA | Xhosa (South Africa) | +| ypk-021 | Yupik (Northern America) | | zh-CN | Chinese (Simplified) | | zh-HK | Chinese (Hong Kong) | | zh-MO | Chinese (Macau) | @@ -164,4 +172,3 @@ permalink: /docs/refs/mojito-locales/ | zh-TW | Chinese (Traditional) | | zu-ZA | Zulu (South Africa) | - diff --git a/webapp/src/main/resources/db/hsql/data.sql b/webapp/src/main/resources/db/hsql/data.sql index 6fff6a8eb2..cadeb30c89 100644 --- a/webapp/src/main/resources/db/hsql/data.sql +++ b/webapp/src/main/resources/db/hsql/data.sql @@ -152,6 +152,14 @@ insert into locale (id, bcp47_tag) values (781, 'zh-MO'); insert into locale (id, bcp47_tag) values (785, 'zh-SG'); insert into locale (id, bcp47_tag) values (153, 'zh-TW'); insert into locale (id, bcp47_tag) values (793, 'zu-ZA'); +insert into locale (id, bcp47_tag) values (804, 'nv-003'); +insert into locale (id, bcp47_tag) values (805, 'oj-021'); +insert into locale (id, bcp47_tag) values (806, 'iu-021'); +insert into locale (id, bcp47_tag) values (807, 'cr-021'); +insert into locale (id, bcp47_tag) values (808, 'mus-021'); +insert into locale (id, bcp47_tag) values (809, 'dak-021'); +insert into locale (id, bcp47_tag) values (810, 'chr-021'); +insert into locale (id, bcp47_tag) values (811, 'ypk-021'); insert into plural_form (id, name) values (1, 'one'); @@ -549,4 +557,12 @@ insert into plural_form_for_locale (locale_id, plural_form_id) values (802, 1); insert into plural_form_for_locale (locale_id, plural_form_id) values (802, 5); insert into plural_form_for_locale (locale_id, plural_form_id) values (803, 1); insert into plural_form_for_locale (locale_id, plural_form_id) values (803, 5); - \ No newline at end of file +insert into plural_form_for_locale (locale_id, plural_form_id) values (804, 0); +insert into plural_form_for_locale (locale_id, plural_form_id) values (805, 0); +insert into plural_form_for_locale (locale_id, plural_form_id) values (806, 0); +insert into plural_form_for_locale (locale_id, plural_form_id) values (807, 0); +insert into plural_form_for_locale (locale_id, plural_form_id) values (808, 0); +insert into plural_form_for_locale (locale_id, plural_form_id) values (809, 0); +insert into plural_form_for_locale (locale_id, plural_form_id) values (810, 0); +insert into plural_form_for_locale (locale_id, plural_form_id) values (811, 0); + diff --git a/webapp/src/main/resources/db/migration/V52__Add_Native_Locales.sql b/webapp/src/main/resources/db/migration/V52__Add_Native_Locales.sql new file mode 100644 index 0000000000..217e9e46b8 --- /dev/null +++ b/webapp/src/main/resources/db/migration/V52__Add_Native_Locales.sql @@ -0,0 +1,17 @@ +insert into locale (id, bcp47_tag) values (804, 'nv-003'); +insert into locale (id, bcp47_tag) values (805, 'oj-021'); +insert into locale (id, bcp47_tag) values (806, 'iu-021'); +insert into locale (id, bcp47_tag) values (807, 'cr-021'); +insert into locale (id, bcp47_tag) values (808, 'mus-021'); +insert into locale (id, bcp47_tag) values (809, 'dak-021'); +insert into locale (id, bcp47_tag) values (810, 'chr-021'); +insert into locale (id, bcp47_tag) values (811, 'ypk-021'); + +insert into plural_form_for_locale (locale_id, plural_form_id) values (804, 0); +insert into plural_form_for_locale (locale_id, plural_form_id) values (805, 0); +insert into plural_form_for_locale (locale_id, plural_form_id) values (806, 0); +insert into plural_form_for_locale (locale_id, plural_form_id) values (807, 0); +insert into plural_form_for_locale (locale_id, plural_form_id) values (808, 0); +insert into plural_form_for_locale (locale_id, plural_form_id) values (809, 0); +insert into plural_form_for_locale (locale_id, plural_form_id) values (810, 0); +insert into plural_form_for_locale (locale_id, plural_form_id) values (811, 0);