OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Use language names from CLDR
Christophe Bliard882dd8129526
diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.ymlindex 65572273c60..149e63239e1 100644--- a/.github/workflows/crowdin.yml+++ b/.github/workflows/crowdin.yml@@ -73,7 +73,7 @@ jobs:OPENPROJECT_CROWDIN_API_KEY: ${{ secrets.OPENPROJECT_CROWDINV2_API_KEY }}- name: "Fixing translation names"run: |- ruby script/crowdin/fix_locale_keys.rb+ ruby script/i18n/fix_crowdin_translation_filenames.rb- name: "Commit translations"run: |git config user.name "OpenProject Actions CI"diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rbindex 01f1e533f47..66231d81010 100644--- a/app/helpers/application_helper.rb+++ b/app/helpers/application_helper.rb@@ -449,7 +449,7 @@ module ApplicationHelper::I18n.locale != Redmine::I18n::IN_CONTEXT_TRANSLATION_CODE[Redmine::I18n::IN_CONTEXT_TRANSLATION_NAME, lang_code.to_s]else- [I18n.t(:general_lang_name, locale: lang_code), lang_code.to_s]+ [I18n.t('cldr.language_name', locale: lang_code), lang_code.to_s]endenddiff --git a/config/locales/crowdin/af.yml b/config/locales/crowdin/af.ymlindex de3aff75a26..e3db2369035 100644--- a/config/locales/crowdin/af.yml+++ b/config/locales/crowdin/af.yml@@ -1398,7 +1398,6 @@ af:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Afrikaans"general_pdf_encoding: "ISO-8859-1"general_text_no: "nee"general_text_yes: "ja"diff --git a/config/locales/crowdin/ar.yml b/config/locales/crowdin/ar.ymlindex 60c46e1fa84..f996f2e859f 100644--- a/config/locales/crowdin/ar.yml+++ b/config/locales/crowdin/ar.yml@@ -1465,7 +1465,6 @@ ar:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "اَللُّغَةُ اَلْعَرَبِيَّة"general_pdf_encoding: "ISO-8859-1"general_text_no: "لا"general_text_yes: "نعم"diff --git a/config/locales/crowdin/az.yml b/config/locales/crowdin/az.ymlindex 7aed5d2db9e..fa9dc65d7e3 100644--- a/config/locales/crowdin/az.yml+++ b/config/locales/crowdin/az.yml@@ -1398,7 +1398,6 @@ az:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Azerbaijani"general_pdf_encoding: "ISO-8859-1"general_text_no: "no"general_text_yes: "yes"diff --git a/config/locales/crowdin/be.yml b/config/locales/crowdin/be.ymlindex 3ea3063ed63..23cfb2c1170 100644--- a/config/locales/crowdin/be.yml+++ b/config/locales/crowdin/be.yml@@ -1432,7 +1432,6 @@ be:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "English"general_pdf_encoding: "ISO-8859-1"general_text_no: "no"general_text_yes: "yes"diff --git a/config/locales/crowdin/bg.yml b/config/locales/crowdin/bg.ymlindex ff3b76041ac..4a896e18a6a 100644--- a/config/locales/crowdin/bg.yml+++ b/config/locales/crowdin/bg.yml@@ -1398,7 +1398,6 @@ bg:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "български език"general_pdf_encoding: "ISO-8859-1"general_text_no: "Не"general_text_yes: "Да"diff --git a/config/locales/crowdin/ca.yml b/config/locales/crowdin/ca.ymlindex ebd975f66dc..029656afc97 100644--- a/config/locales/crowdin/ca.yml+++ b/config/locales/crowdin/ca.yml@@ -1394,7 +1394,6 @@ ca:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Català"general_pdf_encoding: "ISO-8859-1"general_text_no: "no"general_text_yes: "sí"diff --git a/config/locales/crowdin/ckb-IR.yml b/config/locales/crowdin/ckb-IR.ymlindex b7a298eeb45..985b69b2c85 100644--- a/config/locales/crowdin/ckb-IR.yml+++ b/config/locales/crowdin/ckb-IR.yml@@ -1398,7 +1398,6 @@ ckb-IR:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "سۆرانی"general_pdf_encoding: "ISO-8859-1"general_text_no: "no"general_text_yes: "yes"diff --git a/config/locales/crowdin/cs.yml b/config/locales/crowdin/cs.ymlindex 7911318ac46..89a829c337c 100644--- a/config/locales/crowdin/cs.yml+++ b/config/locales/crowdin/cs.yml@@ -1432,7 +1432,6 @@ cs:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Česky"general_pdf_encoding: "ISO-8859-1"general_text_no: "ne"general_text_yes: "ano"diff --git a/config/locales/crowdin/da.yml b/config/locales/crowdin/da.ymlindex 502b3b18cc8..3d326aad8c3 100644--- a/config/locales/crowdin/da.yml+++ b/config/locales/crowdin/da.yml@@ -1396,7 +1396,6 @@ da:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "1"- general_lang_name: "Dansk"general_pdf_encoding: "ISO-8859-15"general_text_no: "nej"general_text_yes: "ja"diff --git a/config/locales/crowdin/de.yml b/config/locales/crowdin/de.ymlindex 4a73a056b93..3847f68b649 100644--- a/config/locales/crowdin/de.yml+++ b/config/locales/crowdin/de.yml@@ -1393,7 +1393,6 @@ de:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "1"- general_lang_name: "Deutsch"general_pdf_encoding: "ISO-8859-1"general_text_no: "nein"general_text_yes: "ja"diff --git a/config/locales/crowdin/el.yml b/config/locales/crowdin/el.ymlindex 3625cebe87f..fd0c5749a27 100644--- a/config/locales/crowdin/el.yml+++ b/config/locales/crowdin/el.yml@@ -1394,7 +1394,6 @@ el:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Ελληνικά"general_pdf_encoding: "ISO-8859-1"general_text_no: "όχι"general_text_yes: "ναι"diff --git a/config/locales/crowdin/eo.yml b/config/locales/crowdin/eo.ymlindex 15966118529..b59d00f89d7 100644--- a/config/locales/crowdin/eo.yml+++ b/config/locales/crowdin/eo.yml@@ -1398,7 +1398,6 @@ eo:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Esperanto"general_pdf_encoding: "ISO-8859-1"general_text_no: "ne"general_text_yes: "jes"diff --git a/config/locales/crowdin/es.yml b/config/locales/crowdin/es.ymlindex 569b95a2b37..e14cd1d1604 100644--- a/config/locales/crowdin/es.yml+++ b/config/locales/crowdin/es.yml@@ -1395,7 +1395,6 @@ es:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Español"general_pdf_encoding: "ISO-8859-1"general_text_no: "no"general_text_yes: "sí"diff --git a/config/locales/crowdin/et.yml b/config/locales/crowdin/et.ymlindex 1bcb3a53d84..2450d5e9e8f 100644--- a/config/locales/crowdin/et.yml+++ b/config/locales/crowdin/et.yml@@ -1398,7 +1398,6 @@ et:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "1"- general_lang_name: "Eesti"general_pdf_encoding: "ISO-8859-1"general_text_no: "ei"general_text_yes: "jah"diff --git a/config/locales/crowdin/eu.yml b/config/locales/crowdin/eu.ymlindex 10865d57edd..d382c420418 100644--- a/config/locales/crowdin/eu.yml+++ b/config/locales/crowdin/eu.yml@@ -1398,7 +1398,6 @@ eu:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "English"general_pdf_encoding: "ISO-8859-1"general_text_no: "no"general_text_yes: "yes"diff --git a/config/locales/crowdin/fa.yml b/config/locales/crowdin/fa.ymlindex a83a676adc2..91ec8a450ec 100644--- a/config/locales/crowdin/fa.yml+++ b/config/locales/crowdin/fa.yml@@ -1398,7 +1398,6 @@ fa:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "فارسی"general_pdf_encoding: "ISO-8859-1"general_text_no: "no"general_text_yes: "yes"diff --git a/config/locales/crowdin/fi.yml b/config/locales/crowdin/fi.ymlindex 432ee953ec3..d569527ba58 100644--- a/config/locales/crowdin/fi.yml+++ b/config/locales/crowdin/fi.yml@@ -1398,7 +1398,6 @@ fi:general_csv_encoding: "ISO-8859-15"general_csv_separator: ","general_first_day_of_week: "1"- general_lang_name: "Suomi"general_pdf_encoding: "ISO-8859-15"general_text_no: "ei"general_text_yes: "kyllä"diff --git a/config/locales/crowdin/fil.yml b/config/locales/crowdin/fil.ymlindex aff8f72f5c5..4f998c2b0c3 100644--- a/config/locales/crowdin/fil.yml+++ b/config/locales/crowdin/fil.yml@@ -1398,7 +1398,6 @@ fil:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Filipino"general_pdf_encoding: "ISO-8859-1"general_text_no: "hindi"general_text_yes: "oo"diff --git a/config/locales/crowdin/fr.yml b/config/locales/crowdin/fr.ymlindex 93f236978ed..e81faf069f7 100644--- a/config/locales/crowdin/fr.yml+++ b/config/locales/crowdin/fr.yml@@ -1398,7 +1398,6 @@ fr:general_csv_encoding: "UTF-8"general_csv_separator: "."general_first_day_of_week: "1"- general_lang_name: "Français"general_pdf_encoding: "ISO-8859-15"general_text_no: "non"general_text_yes: "oui"diff --git a/config/locales/crowdin/he.yml b/config/locales/crowdin/he.ymlindex e0ca511e3f3..a4eef1cc940 100644--- a/config/locales/crowdin/he.yml+++ b/config/locales/crowdin/he.yml@@ -1432,7 +1432,6 @@ he:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "עברית"general_pdf_encoding: "ISO-8859-1"general_text_no: "לא"general_text_yes: "כן"diff --git a/config/locales/crowdin/hi.yml b/config/locales/crowdin/hi.ymlindex 70415a523f1..a2990129a7e 100644--- a/config/locales/crowdin/hi.yml+++ b/config/locales/crowdin/hi.yml@@ -1396,7 +1396,6 @@ hi:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "हिन्दी"general_pdf_encoding: "ISO-8859-1"general_text_no: "no"general_text_yes: "yes"diff --git a/config/locales/crowdin/hr.yml b/config/locales/crowdin/hr.ymlindex 7074f18bc7b..ec7fe1d2473 100644--- a/config/locales/crowdin/hr.yml+++ b/config/locales/crowdin/hr.yml@@ -1415,7 +1415,6 @@ hr:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Hrvatski"general_pdf_encoding: "ISO-8859-1"general_text_no: "ne"general_text_yes: "da"diff --git a/config/locales/crowdin/hu.yml b/config/locales/crowdin/hu.ymlindex 353df428799..1780bf5bf29 100644--- a/config/locales/crowdin/hu.yml+++ b/config/locales/crowdin/hu.yml@@ -1395,7 +1395,6 @@ hu:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Magyar"general_pdf_encoding: "ISO-8859-1"general_text_no: "nem"general_text_yes: "igen"diff --git a/config/locales/crowdin/id.yml b/config/locales/crowdin/id.ymlindex 8473a36cf3f..baa3362f04e 100644--- a/config/locales/crowdin/id.yml+++ b/config/locales/crowdin/id.yml@@ -1375,7 +1375,6 @@ id:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Bahasa Indonesia"general_pdf_encoding: "ISO-8859-1"general_text_no: "no"general_text_yes: "yes"diff --git a/config/locales/crowdin/it.yml b/config/locales/crowdin/it.ymlindex ddc9adcf33d..71c156bd248 100644--- a/config/locales/crowdin/it.yml+++ b/config/locales/crowdin/it.yml@@ -1395,7 +1395,6 @@ it:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "1"- general_lang_name: "Italiano"general_pdf_encoding: "ISO-8859-1"general_text_no: "no"general_text_yes: "si"diff --git a/config/locales/crowdin/ja.yml b/config/locales/crowdin/ja.ymlindex b6631027448..723c0e0b100 100644--- a/config/locales/crowdin/ja.yml+++ b/config/locales/crowdin/ja.yml@@ -1377,7 +1377,6 @@ ja:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "日本語"general_pdf_encoding: "ISO-8859-1"general_text_no: "いいえ"general_text_yes: "はい"diff --git a/config/locales/crowdin/ko.yml b/config/locales/crowdin/ko.ymlindex c4220f2ac73..3b826ce8769 100644--- a/config/locales/crowdin/ko.yml+++ b/config/locales/crowdin/ko.yml@@ -1380,7 +1380,6 @@ ko:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "한국어"general_pdf_encoding: "ISO-8859-1"general_text_no: "아니요"general_text_yes: "예"diff --git a/config/locales/crowdin/lol.yml b/config/locales/crowdin/lol.ymlindex 44ceb44b028..50c47c8a717 100644--- a/config/locales/crowdin/lol.yml+++ b/config/locales/crowdin/lol.yml@@ -1380,7 +1380,6 @@ lol:general_csv_encoding: "crwdns496739:0crwdne496739:0"general_csv_separator: "crwdns496741:0crwdne496741:0"general_first_day_of_week: "crwdns496743:0crwdne496743:0"- general_lang_name: "crwdns496745:0crwdne496745:0"general_pdf_encoding: "crwdns496747:0crwdne496747:0"general_text_no: "crwdns496749:0crwdne496749:0"general_text_yes: "crwdns496751:0crwdne496751:0"diff --git a/config/locales/crowdin/lt.yml b/config/locales/crowdin/lt.ymlindex e6c463da042..26251f537df 100644--- a/config/locales/crowdin/lt.yml+++ b/config/locales/crowdin/lt.yml@@ -1429,7 +1429,6 @@ lt:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Lietuvių"general_pdf_encoding: "ISO-8859-1"general_text_no: "ne"general_text_yes: "taip"diff --git a/config/locales/crowdin/lv.yml b/config/locales/crowdin/lv.ymlindex 635859798e4..99c86a24001 100644--- a/config/locales/crowdin/lv.yml+++ b/config/locales/crowdin/lv.yml@@ -1414,7 +1414,6 @@ lv:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Latviešu"general_pdf_encoding: "ISO-8859-1"general_text_no: "no"general_text_yes: "yes"diff --git a/config/locales/crowdin/mn.yml b/config/locales/crowdin/mn.ymlindex a1bc9ab28c8..ceba72f3680 100644--- a/config/locales/crowdin/mn.yml+++ b/config/locales/crowdin/mn.yml@@ -1398,7 +1398,6 @@ mn:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "English"general_pdf_encoding: "ISO-8859-1"general_text_no: "no"general_text_yes: "yes"diff --git a/config/locales/crowdin/ne.yml b/config/locales/crowdin/ne.ymlindex 0b40586bb45..3c3459d82f3 100644--- a/config/locales/crowdin/ne.yml+++ b/config/locales/crowdin/ne.yml@@ -1398,7 +1398,6 @@ ne:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "नेपाली"general_pdf_encoding: "ISO-8859-1"general_text_no: "no"general_text_yes: "yes"diff --git a/config/locales/crowdin/nl.yml b/config/locales/crowdin/nl.ymlindex aecf5a70fd4..c56a13a73b9 100644--- a/config/locales/crowdin/nl.yml+++ b/config/locales/crowdin/nl.yml@@ -1395,7 +1395,6 @@ nl:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Nederlands"general_pdf_encoding: "ISO-8859-1"general_text_no: "Nee"general_text_yes: "Ja"diff --git a/config/locales/crowdin/no.yml b/config/locales/crowdin/no.ymlindex 7a526e2e1f5..a8e982908be 100644--- a/config/locales/crowdin/no.yml+++ b/config/locales/crowdin/no.yml@@ -1398,7 +1398,6 @@general_csv_encoding: "UTF-8"general_csv_separator: ";"general_first_day_of_week: "1"- general_lang_name: "Norsk"general_pdf_encoding: "ISO-8859-1"general_text_no: "nei"general_text_yes: "ja"diff --git a/config/locales/crowdin/pl.yml b/config/locales/crowdin/pl.ymlindex 6bc5747bb39..a832d910dd9 100644--- a/config/locales/crowdin/pl.yml+++ b/config/locales/crowdin/pl.yml@@ -1429,7 +1429,6 @@ pl:general_csv_encoding: "UTF-8"general_csv_separator: "."general_first_day_of_week: "7"- general_lang_name: "Polski"general_pdf_encoding: "ISO-8859-2"general_text_no: "nie"general_text_yes: "tak"diff --git a/config/locales/crowdin/pt.yml b/config/locales/crowdin/pt.ymlindex 8e058296c9b..4e31a88a5ae 100644--- a/config/locales/crowdin/pt.yml+++ b/config/locales/crowdin/pt.yml@@ -1397,7 +1397,6 @@ pt:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Português (Brasil)"general_pdf_encoding: "ISO-8859-1"general_text_no: "não"general_text_yes: "sim"diff --git a/config/locales/crowdin/ro.yml b/config/locales/crowdin/ro.ymlindex 0668fcd8e41..aa26f3a9504 100644--- a/config/locales/crowdin/ro.yml+++ b/config/locales/crowdin/ro.yml@@ -1415,7 +1415,6 @@ ro:general_csv_encoding: "UTF-8"general_csv_separator: ";"general_first_day_of_week: "1"- general_lang_name: "Română"general_pdf_encoding: "UTF-8"general_text_no: "nu"general_text_yes: "da"diff --git a/config/locales/crowdin/ru.yml b/config/locales/crowdin/ru.ymlindex fac84fa9755..b54ac4ed98a 100644--- a/config/locales/crowdin/ru.yml+++ b/config/locales/crowdin/ru.yml@@ -1431,7 +1431,6 @@ ru:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Русский"general_pdf_encoding: "ISO-8859-1"general_text_no: "нет"general_text_yes: "Да"diff --git a/config/locales/crowdin/rw.yml b/config/locales/crowdin/rw.ymlindex 0ee5c8e9514..3d62893b9e6 100644--- a/config/locales/crowdin/rw.yml+++ b/config/locales/crowdin/rw.yml@@ -1398,7 +1398,6 @@ rw:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Kinyarwandi"general_pdf_encoding: "ISO-8859-1"general_text_no: "no"general_text_yes: "yes"diff --git a/config/locales/crowdin/si.yml b/config/locales/crowdin/si.ymlindex 8b2db2da9df..864fe4f0385 100644--- a/config/locales/crowdin/si.yml+++ b/config/locales/crowdin/si.yml@@ -1398,7 +1398,6 @@ si:general_csv_encoding: "යූටීඑෆ්-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "සිංහල"general_pdf_encoding: "ISO-8859-1"general_text_no: "නැත"general_text_yes: "ඔව්"diff --git a/config/locales/crowdin/sk.yml b/config/locales/crowdin/sk.ymlindex 206fca6b9fe..c067cf29827 100644--- a/config/locales/crowdin/sk.yml+++ b/config/locales/crowdin/sk.yml@@ -1432,7 +1432,6 @@ sk:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Slovenčina"general_pdf_encoding: "ISO-8859-1"general_text_no: "nie"general_text_yes: "áno"diff --git a/config/locales/crowdin/sl.yml b/config/locales/crowdin/sl.ymlindex cc1014f9977..e44e7bf3596 100644--- a/config/locales/crowdin/sl.yml+++ b/config/locales/crowdin/sl.yml@@ -1429,7 +1429,6 @@ sl:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Slovenščina"general_pdf_encoding: "ISO-8859-1"general_text_no: "ne"general_text_yes: "da"diff --git a/config/locales/crowdin/sv.yml b/config/locales/crowdin/sv.ymlindex 6186210ec61..014a2fb9d95 100644--- a/config/locales/crowdin/sv.yml+++ b/config/locales/crowdin/sv.yml@@ -1397,7 +1397,6 @@ sv:general_csv_encoding: "UTF-8"general_csv_separator: ";"general_first_day_of_week: "1"- general_lang_name: "Svenska"general_pdf_encoding: "ISO-8859-1"general_text_no: "nej"general_text_yes: "ja"diff --git a/config/locales/crowdin/th.yml b/config/locales/crowdin/th.ymlindex f86d42ec11d..c8efed71007 100644--- a/config/locales/crowdin/th.yml+++ b/config/locales/crowdin/th.yml@@ -1381,7 +1381,6 @@ th:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "ไทย"general_pdf_encoding: "ISO-8859-1"general_text_no: "ไม่ใช่"general_text_yes: "ใช่"diff --git a/config/locales/crowdin/tr.yml b/config/locales/crowdin/tr.ymlindex 40d3931ae22..04d6d07eb08 100644--- a/config/locales/crowdin/tr.yml+++ b/config/locales/crowdin/tr.yml@@ -1397,7 +1397,6 @@ tr:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Türkçe"general_pdf_encoding: "ISO-8859-1"general_text_no: "hayır"general_text_yes: "evet"diff --git a/config/locales/crowdin/uk.yml b/config/locales/crowdin/uk.ymlindex 51b15a4e0d2..0c56ace66e8 100644--- a/config/locales/crowdin/uk.yml+++ b/config/locales/crowdin/uk.yml@@ -1427,7 +1427,6 @@ uk:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Українська"general_pdf_encoding: "ISO-8859-1"general_text_no: "ні"general_text_yes: "так"diff --git a/config/locales/crowdin/vi.yml b/config/locales/crowdin/vi.ymlindex 0857ef5e31d..f3eaaaff8fe 100644--- a/config/locales/crowdin/vi.yml+++ b/config/locales/crowdin/vi.yml@@ -1383,7 +1383,6 @@ vi:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "Việtnam"general_pdf_encoding: "ISO-8859-1"general_text_no: "không"general_text_yes: "có"diff --git a/config/locales/crowdin/zh-CN.yml b/config/locales/crowdin/zh-CN.ymlindex 493700f649d..255fa00937e 100644--- a/config/locales/crowdin/zh-CN.yml+++ b/config/locales/crowdin/zh-CN.yml@@ -1259,7 +1259,6 @@ zh-CN:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "简体中文"general_pdf_encoding: "ISO-8859-1"general_text_no: "否"general_text_yes: "是"diff --git a/config/locales/crowdin/zh-TW.yml b/config/locales/crowdin/zh-TW.ymlindex 921f5d215c0..29d4539f2d6 100644--- a/config/locales/crowdin/zh-TW.yml+++ b/config/locales/crowdin/zh-TW.yml@@ -1381,7 +1381,6 @@ zh-TW:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "星期日"- general_lang_name: "台灣正體"general_pdf_encoding: "ISO-8859-1"general_text_no: "否"general_text_yes: "是"diff --git a/config/locales/en.yml b/config/locales/en.ymlindex 22a17431fcc..eabbccc7c36 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -1458,7 +1458,6 @@ en:general_csv_encoding: "UTF-8"general_csv_separator: ","general_first_day_of_week: "7"- general_lang_name: "English"general_pdf_encoding: "ISO-8859-1"general_text_no: "no"general_text_yes: "yes"diff --git a/config/locales/generated/af.yml b/config/locales/generated/af.ymlnew file mode 100644index 00000000000..05b88342335--- /dev/null+++ b/config/locales/generated/af.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+af:+ cldr:+ language_name: Afrikaansdiff --git a/config/locales/generated/ar.yml b/config/locales/generated/ar.ymlnew file mode 100644index 00000000000..3f33d8cc0c2--- /dev/null+++ b/config/locales/generated/ar.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+ar:+ cldr:+ language_name: العربيةdiff --git a/config/locales/generated/az.yml b/config/locales/generated/az.ymlnew file mode 100644index 00000000000..799590049c5--- /dev/null+++ b/config/locales/generated/az.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+az:+ cldr:+ language_name: Azərbaycandiff --git a/config/locales/generated/be.yml b/config/locales/generated/be.ymlnew file mode 100644index 00000000000..517ebd426ce--- /dev/null+++ b/config/locales/generated/be.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+be:+ cldr:+ language_name: Беларускаяdiff --git a/config/locales/generated/bg.yml b/config/locales/generated/bg.ymlnew file mode 100644index 00000000000..5a7991a4442--- /dev/null+++ b/config/locales/generated/bg.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+bg:+ cldr:+ language_name: Българскиdiff --git a/config/locales/generated/ca.yml b/config/locales/generated/ca.ymlnew file mode 100644index 00000000000..cc29f636aa0--- /dev/null+++ b/config/locales/generated/ca.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+ca:+ cldr:+ language_name: Catalàdiff --git a/config/locales/generated/ckb-IR.yml b/config/locales/generated/ckb-IR.ymlnew file mode 100644index 00000000000..32eeb6a1ee8--- /dev/null+++ b/config/locales/generated/ckb-IR.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+ckb-IR:+ cldr:+ language_name: کوردیی ناوەندیdiff --git a/config/locales/generated/cs.yml b/config/locales/generated/cs.ymlnew file mode 100644index 00000000000..7e638bfd795--- /dev/null+++ b/config/locales/generated/cs.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+cs:+ cldr:+ language_name: Češtinadiff --git a/config/locales/generated/da.yml b/config/locales/generated/da.ymlnew file mode 100644index 00000000000..662e0d3bc22--- /dev/null+++ b/config/locales/generated/da.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+da:+ cldr:+ language_name: Danskdiff --git a/config/locales/generated/de.yml b/config/locales/generated/de.ymlnew file mode 100644index 00000000000..4161d8d43a3--- /dev/null+++ b/config/locales/generated/de.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+de:+ cldr:+ language_name: Deutschdiff --git a/config/locales/generated/el.yml b/config/locales/generated/el.ymlnew file mode 100644index 00000000000..91b282ad69a--- /dev/null+++ b/config/locales/generated/el.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+el:+ cldr:+ language_name: Ελληνικάdiff --git a/config/locales/generated/en.yml b/config/locales/generated/en.ymlnew file mode 100644index 00000000000..d0280e4c88c--- /dev/null+++ b/config/locales/generated/en.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+en:+ cldr:+ language_name: Englishdiff --git a/config/locales/generated/eo.yml b/config/locales/generated/eo.ymlnew file mode 100644index 00000000000..b15d7cf9647--- /dev/null+++ b/config/locales/generated/eo.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+eo:+ cldr:+ language_name: Esperantodiff --git a/config/locales/generated/es.yml b/config/locales/generated/es.ymlnew file mode 100644index 00000000000..cc545e31455--- /dev/null+++ b/config/locales/generated/es.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+es:+ cldr:+ language_name: Españoldiff --git a/config/locales/generated/et.yml b/config/locales/generated/et.ymlnew file mode 100644index 00000000000..1e7ddb7389a--- /dev/null+++ b/config/locales/generated/et.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+et:+ cldr:+ language_name: Eestidiff --git a/config/locales/generated/eu.yml b/config/locales/generated/eu.ymlnew file mode 100644index 00000000000..e059ed6cef8--- /dev/null+++ b/config/locales/generated/eu.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+eu:+ cldr:+ language_name: Euskaradiff --git a/config/locales/generated/fa.yml b/config/locales/generated/fa.ymlnew file mode 100644index 00000000000..f8b22eff849--- /dev/null+++ b/config/locales/generated/fa.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+fa:+ cldr:+ language_name: فارسیdiff --git a/config/locales/generated/fi.yml b/config/locales/generated/fi.ymlnew file mode 100644index 00000000000..b90cf8aa9c5--- /dev/null+++ b/config/locales/generated/fi.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+fi:+ cldr:+ language_name: Suomidiff --git a/config/locales/generated/fil.yml b/config/locales/generated/fil.ymlnew file mode 100644index 00000000000..da36eb895c4--- /dev/null+++ b/config/locales/generated/fil.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+fil:+ cldr:+ language_name: Filipinodiff --git a/config/locales/generated/fr.yml b/config/locales/generated/fr.ymlnew file mode 100644index 00000000000..d56754908e0--- /dev/null+++ b/config/locales/generated/fr.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+fr:+ cldr:+ language_name: Françaisdiff --git a/config/locales/generated/he.yml b/config/locales/generated/he.ymlnew file mode 100644index 00000000000..d75b7a06647--- /dev/null+++ b/config/locales/generated/he.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+he:+ cldr:+ language_name: עבריתdiff --git a/config/locales/generated/hi.yml b/config/locales/generated/hi.ymlnew file mode 100644index 00000000000..9394aaf079d--- /dev/null+++ b/config/locales/generated/hi.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+hi:+ cldr:+ language_name: हिन्दीdiff --git a/config/locales/generated/hr.yml b/config/locales/generated/hr.ymlnew file mode 100644index 00000000000..e008b854482--- /dev/null+++ b/config/locales/generated/hr.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+hr:+ cldr:+ language_name: Hrvatskidiff --git a/config/locales/generated/hu.yml b/config/locales/generated/hu.ymlnew file mode 100644index 00000000000..6688a2bad71--- /dev/null+++ b/config/locales/generated/hu.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+hu:+ cldr:+ language_name: Magyardiff --git a/config/locales/generated/id.yml b/config/locales/generated/id.ymlnew file mode 100644index 00000000000..7734c7139a9--- /dev/null+++ b/config/locales/generated/id.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+id:+ cldr:+ language_name: Indonesiadiff --git a/config/locales/generated/it.yml b/config/locales/generated/it.ymlnew file mode 100644index 00000000000..d6e546a0323--- /dev/null+++ b/config/locales/generated/it.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+it:+ cldr:+ language_name: Italianodiff --git a/config/locales/generated/ja.yml b/config/locales/generated/ja.ymlnew file mode 100644index 00000000000..df712c7c685--- /dev/null+++ b/config/locales/generated/ja.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+ja:+ cldr:+ language_name: 日本語diff --git a/config/locales/generated/ko.yml b/config/locales/generated/ko.ymlnew file mode 100644index 00000000000..f2446f9be26--- /dev/null+++ b/config/locales/generated/ko.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+ko:+ cldr:+ language_name: 한국어diff --git a/config/locales/generated/lt.yml b/config/locales/generated/lt.ymlnew file mode 100644index 00000000000..dd8cc8eb3c7--- /dev/null+++ b/config/locales/generated/lt.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+lt:+ cldr:+ language_name: Lietuviųdiff --git a/config/locales/generated/lv.yml b/config/locales/generated/lv.ymlnew file mode 100644index 00000000000..3bf1932e99c--- /dev/null+++ b/config/locales/generated/lv.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+lv:+ cldr:+ language_name: Latviešudiff --git a/config/locales/generated/mn.yml b/config/locales/generated/mn.ymlnew file mode 100644index 00000000000..70d23ea25e1--- /dev/null+++ b/config/locales/generated/mn.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+mn:+ cldr:+ language_name: Монголdiff --git a/config/locales/generated/ne.yml b/config/locales/generated/ne.ymlnew file mode 100644index 00000000000..354b455e394--- /dev/null+++ b/config/locales/generated/ne.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+ne:+ cldr:+ language_name: नेपालीdiff --git a/config/locales/generated/nl.yml b/config/locales/generated/nl.ymlnew file mode 100644index 00000000000..4532748162a--- /dev/null+++ b/config/locales/generated/nl.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+nl:+ cldr:+ language_name: Nederlandsdiff --git a/config/locales/generated/no.yml b/config/locales/generated/no.ymlnew file mode 100644index 00000000000..42e4dfb44bb--- /dev/null+++ b/config/locales/generated/no.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+'no':+ cldr:+ language_name: Norskdiff --git a/config/locales/generated/pl.yml b/config/locales/generated/pl.ymlnew file mode 100644index 00000000000..c2076cfd949--- /dev/null+++ b/config/locales/generated/pl.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+pl:+ cldr:+ language_name: Polskidiff --git a/config/locales/generated/pt.yml b/config/locales/generated/pt.ymlnew file mode 100644index 00000000000..5594caf358f--- /dev/null+++ b/config/locales/generated/pt.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+pt:+ cldr:+ language_name: Portuguêsdiff --git a/config/locales/generated/ro.yml b/config/locales/generated/ro.ymlnew file mode 100644index 00000000000..ec3bc46b3e3--- /dev/null+++ b/config/locales/generated/ro.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+ro:+ cldr:+ language_name: Românădiff --git a/config/locales/generated/ru.yml b/config/locales/generated/ru.ymlnew file mode 100644index 00000000000..45ba9c6ebf7--- /dev/null+++ b/config/locales/generated/ru.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+ru:+ cldr:+ language_name: Русскийdiff --git a/config/locales/generated/rw.yml b/config/locales/generated/rw.ymlnew file mode 100644index 00000000000..8faed7a03f2--- /dev/null+++ b/config/locales/generated/rw.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+rw:+ cldr:+ language_name: Kinyarwandadiff --git a/config/locales/generated/si.yml b/config/locales/generated/si.ymlnew file mode 100644index 00000000000..d76e31d60f4--- /dev/null+++ b/config/locales/generated/si.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+si:+ cldr:+ language_name: සිංහලdiff --git a/config/locales/generated/sk.yml b/config/locales/generated/sk.ymlnew file mode 100644index 00000000000..b106ac3bcd3--- /dev/null+++ b/config/locales/generated/sk.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+sk:+ cldr:+ language_name: Slovenčinadiff --git a/config/locales/generated/sl.yml b/config/locales/generated/sl.ymlnew file mode 100644index 00000000000..9d233b0c0b4--- /dev/null+++ b/config/locales/generated/sl.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+sl:+ cldr:+ language_name: Slovenščinadiff --git a/config/locales/generated/sv.yml b/config/locales/generated/sv.ymlnew file mode 100644index 00000000000..4c1382072bb--- /dev/null+++ b/config/locales/generated/sv.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+sv:+ cldr:+ language_name: Svenskadiff --git a/config/locales/generated/th.yml b/config/locales/generated/th.ymlnew file mode 100644index 00000000000..7754d13ea95--- /dev/null+++ b/config/locales/generated/th.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+th:+ cldr:+ language_name: ไทยdiff --git a/config/locales/generated/tr.yml b/config/locales/generated/tr.ymlnew file mode 100644index 00000000000..1efd6f1a221--- /dev/null+++ b/config/locales/generated/tr.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+tr:+ cldr:+ language_name: Türkçediff --git a/config/locales/generated/uk.yml b/config/locales/generated/uk.ymlnew file mode 100644index 00000000000..ef9a7645235--- /dev/null+++ b/config/locales/generated/uk.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+uk:+ cldr:+ language_name: Українськаdiff --git a/config/locales/generated/vi.yml b/config/locales/generated/vi.ymlnew file mode 100644index 00000000000..f7f1e615d8b--- /dev/null+++ b/config/locales/generated/vi.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+vi:+ cldr:+ language_name: Tiếng việtdiff --git a/config/locales/generated/zh-CN.yml b/config/locales/generated/zh-CN.ymlnew file mode 100644index 00000000000..86e82a4aded--- /dev/null+++ b/config/locales/generated/zh-CN.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+zh-CN:+ cldr:+ language_name: 简体中文diff --git a/config/locales/generated/zh-TW.yml b/config/locales/generated/zh-TW.ymlnew file mode 100644index 00000000000..76fb81aead2--- /dev/null+++ b/config/locales/generated/zh-TW.yml@@ -0,0 +1,14 @@+# This file has been generated by script/i18n/generate_languages_translations.+# Please do not edit directly.+#+# To update this file, run script/i18n/generate_languages_translations.+#+# The translations come from version 42 of the Unicode CLDR project .+#+# The Unicode Common Locale Data Repository (CLDR) provides key building+# blocks for software to support the world's languages, with the largest+# and most extensive standard repository of locale data available.+---+zh-TW:+ cldr:+ language_name: 繁体中文diff --git a/script/crowdin/fix_locale_keys.rb b/script/i18n/fix_crowdin_translation_filenames.rbsimilarity index 100%rename from script/crowdin/fix_locale_keys.rbrename to script/i18n/fix_crowdin_translation_filenames.rbdiff --git a/script/i18n/generate_languages_translations b/script/i18n/generate_languages_translationsnew file mode 100755index 00000000000..04018133524--- /dev/null+++ b/script/i18n/generate_languages_translations@@ -0,0 +1,155 @@+#!/usr/bin/env ruby++begin+ require 'cldr'+rescue LoadError+ warn <<~MSG+ Error: the ruby-cldr gem is not installed+ Install it with 'gem install ruby-cldr' and run this script again+ MSG+ exit 1+end+require 'pathname'+require 'yaml'++class App+ class << self+ def locales+ @locales ||= rails_root.glob('config/locales/**/*.yml')+ .map { |f| f.basename.to_s.split('.', 2).first }+ .reject! { |l| /\Ajs-/.match(l.to_s) || l == 'lol' }+ .uniq+ .map(&:to_sym)+ end++ def rails_root+ @rails_root ||=+ Pathname.new(__dir__)+ .ascend+ .find { |dir| dir.join('Gemfile').exist? }+ .tap { |dir| raise "Unable to find Rails root directory (looking up from #{__dir__})" if dir.nil? }+ end+ end+end++class CldrTranslations+ CLDR_VERSION = 42++ def initialize+ ensure_cldr_database_is_downloaded+ Cldr::Export::Data.dir = cldr_db_location.join('common').to_s+ end++ def language_name(locale)+ locale = cldr_supported(locale)+ language_names = language_names(locale)+ language_name = variations(locale).filter_map { |l| language_names[l] }.first+ language_name.capitalize+ end++ private++ def language_names(locale)+ @language_names ||= {}+ @language_names[locale] ||= Cldr::Export.data(:Languages, locale, merge: true)[:languages]+ rescue Errno::ENOENT => e+ warn "ERROR: cannot load Languages CLDR component file for locale #{locale}: #{e}"+ warn e.backtrace.join("\n")+ exit 1+ end++ # Maps OpenProject locale to a locale recognized by CLDR.+ #+ # According to https://sites.psu.edu/symbolcodes/languages/asia/chinese/+ # zh-CN <=> zh-Hans (zh-Hans is preferred, but zh-CN may be found on older sites)+ # zh-TW <=> zh-Hant (zh-Hant or zh-Hant-TW (Taiwan) is preferred zh-TW)+ def cldr_supported(locale)+ case locale+ when :'zh-CN' then :'zh-Hans-CN'+ when :'zh-TW' then :'zh-Hant-TW'+ else locale+ end+ end++ # From :'zh-Hans-CN', returns [:'zh-Hans-CN', :'zh-Hans', :zh]+ # From :de, returns [:de]+ def variations(locale)+ locale.to_s+ .split('-')+ .reduce([]) { |variations, part| variations.unshift([variations.first, part].compact.join('-')) }+ .map(&:to_sym)+ end++ def ensure_cldr_database_is_downloaded+ return if cldr_db_location.exist?++ require 'cldr/download'+ target = cldr_db_location.to_s+ source = "https://unicode.org/Public/cldr/#{CLDR_VERSION}/core.zip"+ puts <<~MSG+ CLDR database version #{CLDR_VERSION} missing+ Downloading from #{source}+ to #{target}+ MSG+ Cldr.download(source, target)+ puts "Downloaded!"+ end++ def cldr_db_location+ App.rails_root.join("tmp/cldr-v#{CLDR_VERSION}")+ end+end++class GenerateTranslationFiles+ COMMENT = <<~COMMENT.freeze+ # This file has been generated by #{$0}.+ # Please do not edit directly.+ #+ # To update this file, run #{$0}.+ #+ # The translations come from version #{CldrTranslations::CLDR_VERSION} of the Unicode CLDR project .+ #+ # The Unicode Common Locale Data Repository (CLDR) provides key building+ # blocks for software to support the world's languages, with the largest+ # and most extensive standard repository of locale data available.+ COMMENT++ class << self+ def call+ puts "Generate #{App.locales.count} translation files in #{translations_directory} using CLDR"+ App.locales.each do |locale|+ create_translation_file(locale)+ end+ puts "Done"+ end++ def create_translation_file(locale)+ translations_directory.join("#{locale}.yml").open('w') do |f|+ f.puts COMMENT+ YAML.dump(yaml_content(locale), f)+ end+ end++ def yaml_content(locale)+ {+ locale.to_s => {+ 'cldr' => {+ 'language_name' => cldr_translations.language_name(locale)+ }+ }+ }+ end++ def cldr_translations+ @cldr_translations ||= CldrTranslations.new+ end++ def translations_directory+ @translations_directory ||= App.rails_root.join('config/locales/generated').tap do |dir|+ dir.mkdir unless dir.exist?+ end+ end+ end+end++GenerateTranslationFiles.call