Skip to content

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

Use more accurate language translation for pt-BR

Christophe Bliard605d731f7390
diff --git a/config/locales/generated/af.yml b/config/locales/generated/af.yml
index f3e26009a8b..5a06ef9617c 100644
--- a/config/locales/generated/af.yml
+++ b/config/locales/generated/af.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/ar.yml b/config/locales/generated/ar.yml
index 58af31dab11..bda4145aff0 100644
--- a/config/locales/generated/ar.yml
+++ b/config/locales/generated/ar.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/az.yml b/config/locales/generated/az.yml
index 775c84538c5..21255fb9b86 100644
--- a/config/locales/generated/az.yml
+++ b/config/locales/generated/az.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/be.yml b/config/locales/generated/be.yml
index 1a02e06f24d..9b468a477b2 100644
--- a/config/locales/generated/be.yml
+++ b/config/locales/generated/be.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/bg.yml b/config/locales/generated/bg.yml
index 9699a78a89c..9f1e5dd8d58 100644
--- a/config/locales/generated/bg.yml
+++ b/config/locales/generated/bg.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/ca.yml b/config/locales/generated/ca.yml
index 0f58368199d..2766c711721 100644
--- a/config/locales/generated/ca.yml
+++ b/config/locales/generated/ca.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/ckb-IR.yml b/config/locales/generated/ckb-IR.yml
index 67e5a28e7f6..a3076aedf02 100644
--- a/config/locales/generated/ckb-IR.yml
+++ b/config/locales/generated/ckb-IR.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/cs.yml b/config/locales/generated/cs.yml
index ab39b7b48d3..12ca0d82df1 100644
--- a/config/locales/generated/cs.yml
+++ b/config/locales/generated/cs.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/da.yml b/config/locales/generated/da.yml
index 3b26bb98368..c8524516d14 100644
--- a/config/locales/generated/da.yml
+++ b/config/locales/generated/da.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/de.yml b/config/locales/generated/de.yml
index 033f7f01e89..e875b2f4902 100644
--- a/config/locales/generated/de.yml
+++ b/config/locales/generated/de.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/el.yml b/config/locales/generated/el.yml
index 69863af4aca..9f023fa4ea6 100644
--- a/config/locales/generated/el.yml
+++ b/config/locales/generated/el.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/en.yml b/config/locales/generated/en.yml
index 0fe77bfe8cd..5e04b205bb6 100644
--- a/config/locales/generated/en.yml
+++ b/config/locales/generated/en.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/eo.yml b/config/locales/generated/eo.yml
index dc1b3f309b5..81cde9f21bf 100644
--- a/config/locales/generated/eo.yml
+++ b/config/locales/generated/eo.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/es.yml b/config/locales/generated/es.yml
index 2ac9f3b639c..2798b5be177 100644
--- a/config/locales/generated/es.yml
+++ b/config/locales/generated/es.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/et.yml b/config/locales/generated/et.yml
index 4d7e75bcdd6..3bc73369ea9 100644
--- a/config/locales/generated/et.yml
+++ b/config/locales/generated/et.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/eu.yml b/config/locales/generated/eu.yml
index 8f87930ccca..d4e3a7adcc2 100644
--- a/config/locales/generated/eu.yml
+++ b/config/locales/generated/eu.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/fa.yml b/config/locales/generated/fa.yml
index d4ecf83e581..5f09442bff2 100644
--- a/config/locales/generated/fa.yml
+++ b/config/locales/generated/fa.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/fi.yml b/config/locales/generated/fi.yml
index 90d3ea3fad0..31f7cd9e220 100644
--- a/config/locales/generated/fi.yml
+++ b/config/locales/generated/fi.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/fil.yml b/config/locales/generated/fil.yml
index 971eb892adb..32adbb0813b 100644
--- a/config/locales/generated/fil.yml
+++ b/config/locales/generated/fil.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/fr.yml b/config/locales/generated/fr.yml
index c46d8016195..99684bf33a0 100644
--- a/config/locales/generated/fr.yml
+++ b/config/locales/generated/fr.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/he.yml b/config/locales/generated/he.yml
index 09b234ecea6..5c86dc5a4d7 100644
--- a/config/locales/generated/he.yml
+++ b/config/locales/generated/he.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/hi.yml b/config/locales/generated/hi.yml
index cf762778266..992031f582b 100644
--- a/config/locales/generated/hi.yml
+++ b/config/locales/generated/hi.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/hr.yml b/config/locales/generated/hr.yml
index fb3a1d3031d..3ef99ca2c6f 100644
--- a/config/locales/generated/hr.yml
+++ b/config/locales/generated/hr.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/hu.yml b/config/locales/generated/hu.yml
index eb8be01b76b..d6238b6789c 100644
--- a/config/locales/generated/hu.yml
+++ b/config/locales/generated/hu.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/id.yml b/config/locales/generated/id.yml
index 22c0d8000c7..bff89d56971 100644
--- a/config/locales/generated/id.yml
+++ b/config/locales/generated/id.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/it.yml b/config/locales/generated/it.yml
index af1d857480e..4a7c371201f 100644
--- a/config/locales/generated/it.yml
+++ b/config/locales/generated/it.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/ja.yml b/config/locales/generated/ja.yml
index 3a321e6683c..3b7d74937ea 100644
--- a/config/locales/generated/ja.yml
+++ b/config/locales/generated/ja.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/ka.yml b/config/locales/generated/ka.yml
index e01e39725ca..a6735b0231c 100644
--- a/config/locales/generated/ka.yml
+++ b/config/locales/generated/ka.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/kk.yml b/config/locales/generated/kk.yml
index 87cd50a3fba..6a8cba0f7b9 100644
--- a/config/locales/generated/kk.yml
+++ b/config/locales/generated/kk.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/ko.yml b/config/locales/generated/ko.yml
index 5570b1d7f3d..ee7e5dfe4a6 100644
--- a/config/locales/generated/ko.yml
+++ b/config/locales/generated/ko.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/lt.yml b/config/locales/generated/lt.yml
index 95fb4bf3ad6..97c29054958 100644
--- a/config/locales/generated/lt.yml
+++ b/config/locales/generated/lt.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/lv.yml b/config/locales/generated/lv.yml
index f61cbb39864..7e25525547f 100644
--- a/config/locales/generated/lv.yml
+++ b/config/locales/generated/lv.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/mn.yml b/config/locales/generated/mn.yml
index af6c17bbb96..0d79cad0cd9 100644
--- a/config/locales/generated/mn.yml
+++ b/config/locales/generated/mn.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/ms.yml b/config/locales/generated/ms.yml
index 32f20865e30..ce3c24a5039 100644
--- a/config/locales/generated/ms.yml
+++ b/config/locales/generated/ms.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/ne.yml b/config/locales/generated/ne.yml
index 46484a587f9..c62d96e66fd 100644
--- a/config/locales/generated/ne.yml
+++ b/config/locales/generated/ne.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/nl.yml b/config/locales/generated/nl.yml
index 590b02a742e..528b5ecd71f 100644
--- a/config/locales/generated/nl.yml
+++ b/config/locales/generated/nl.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/no.yml b/config/locales/generated/no.yml
index 2eae4f58de4..1f771aeaa63 100644
--- a/config/locales/generated/no.yml
+++ b/config/locales/generated/no.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/pl.yml b/config/locales/generated/pl.yml
index e7a637c05f9..0df835de73b 100644
--- a/config/locales/generated/pl.yml
+++ b/config/locales/generated/pl.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/pt-BR.yml b/config/locales/generated/pt-BR.yml
index f1db3999f1d..be57d24ff3c 100644
--- a/config/locales/generated/pt-BR.yml
+++ b/config/locales/generated/pt-BR.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
@@ -11,4 +11,4 @@
---
pt-BR:
cldr:
- language_name: Português
+ language_name: Português do brasil
diff --git a/config/locales/generated/pt-PT.yml b/config/locales/generated/pt-PT.yml
index 8dca7942fd8..df895c6f05c 100644
--- a/config/locales/generated/pt-PT.yml
+++ b/config/locales/generated/pt-PT.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/ro.yml b/config/locales/generated/ro.yml
index 94404ae4b31..86f33d078d8 100644
--- a/config/locales/generated/ro.yml
+++ b/config/locales/generated/ro.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/ru.yml b/config/locales/generated/ru.yml
index 2faf3ed57f6..eaf99e99527 100644
--- a/config/locales/generated/ru.yml
+++ b/config/locales/generated/ru.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/rw.yml b/config/locales/generated/rw.yml
index 162bc0c1be6..15233566b8f 100644
--- a/config/locales/generated/rw.yml
+++ b/config/locales/generated/rw.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/si.yml b/config/locales/generated/si.yml
index 7e233d59b4f..80b061826cc 100644
--- a/config/locales/generated/si.yml
+++ b/config/locales/generated/si.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/sk.yml b/config/locales/generated/sk.yml
index cd68b8a0f98..2628bfa7f7e 100644
--- a/config/locales/generated/sk.yml
+++ b/config/locales/generated/sk.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/sl.yml b/config/locales/generated/sl.yml
index a807801f28a..6e313174824 100644
--- a/config/locales/generated/sl.yml
+++ b/config/locales/generated/sl.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/sr.yml b/config/locales/generated/sr.yml
index 13fbf0dce40..55dd43c36c8 100644
--- a/config/locales/generated/sr.yml
+++ b/config/locales/generated/sr.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/sv.yml b/config/locales/generated/sv.yml
index b6821d493dd..bfd9e136d7d 100644
--- a/config/locales/generated/sv.yml
+++ b/config/locales/generated/sv.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/th.yml b/config/locales/generated/th.yml
index 344f8f11790..c5fb01491e7 100644
--- a/config/locales/generated/th.yml
+++ b/config/locales/generated/th.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/tr.yml b/config/locales/generated/tr.yml
index 37225de3e96..dd999d8ce82 100644
--- a/config/locales/generated/tr.yml
+++ b/config/locales/generated/tr.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/uk.yml b/config/locales/generated/uk.yml
index 01b49a82807..be47683be2a 100644
--- a/config/locales/generated/uk.yml
+++ b/config/locales/generated/uk.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/uz.yml b/config/locales/generated/uz.yml
index 7007c00ee4a..bc8f8cb3706 100644
--- a/config/locales/generated/uz.yml
+++ b/config/locales/generated/uz.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/vi.yml b/config/locales/generated/vi.yml
index 6869bf031b3..725c6f90a22 100644
--- a/config/locales/generated/vi.yml
+++ b/config/locales/generated/vi.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/zh-CN.yml b/config/locales/generated/zh-CN.yml
index ccecadf9e70..526867e0858 100644
--- a/config/locales/generated/zh-CN.yml
+++ b/config/locales/generated/zh-CN.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/config/locales/generated/zh-TW.yml b/config/locales/generated/zh-TW.yml
index e290c4a6536..03d965b9734 100644
--- a/config/locales/generated/zh-TW.yml
+++ b/config/locales/generated/zh-TW.yml
@@ -1,9 +1,9 @@
-# This file has been generated by ./script/i18n/generate_languages_translations.
+# 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.
+# To update this file, run script/i18n/generate_languages_translations.
#
-# The translations come from version 42 of the Unicode CLDR project .
+# The translations come from version 44 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
diff --git a/script/i18n/generate_languages_translations b/script/i18n/generate_languages_translations
index f59bbd1b650..d1e91aab0bb 100755
--- a/script/i18n/generate_languages_translations
+++ b/script/i18n/generate_languages_translations
@@ -33,7 +33,7 @@ class App
end
class CldrTranslations
- CLDR_VERSION = 42
+ CLDR_VERSION = 44
def initialize
ensure_cldr_database_is_downloaded
@@ -42,16 +42,23 @@ class CldrTranslations
def language_name(locale)
locale = cldr_supported(locale)
- language_names = language_names(locale)
- language_name = variations(locale).filter_map { |l| language_names[l] }.first
+ variations = variations(locale)
+ language_names = merged_language_names(variations)
+ language_name = variations.filter_map { |l| language_names[l] }.first
language_name.capitalize
end
private
+ def merged_language_names(variations)
+ variations.reduce({}) do |merged, locale|
+ merged.merge(language_names(locale))
+ end
+ end
+
def language_names(locale)
@language_names ||= {}
- @language_names[locale] ||= Cldr::Export.data(:Languages, locale, merge: true)[:languages]
+ @language_names[locale] ||= Cldr::Export.data(:Languages, locale)[:languages] || {}
rescue Errno::ENOENT => e
warn "ERROR: cannot load Languages CLDR component file for locale #{locale}: #{e}"
warn e.backtrace.join("\n")
@@ -72,14 +79,36 @@ class CldrTranslations
end
# From :'zh-Hans-CN', returns [:'zh-Hans-CN', :'zh-Hans', :zh]
+ # :'zh-ZH' is not included as it's not available in CLDR
# From :de, returns [:de]
+ # From :'pt-BR', returns [:'pt-BR', :'pt-PT', :pt]
+ # From :'pt-PT', returns [:'pt-PT', :pt]
def variations(locale)
locale.to_s
.split('-')
.reduce([]) { |variations, part| variations.unshift([variations.first, part].compact.join('-')) }
+ .then { |variations| insert_self_variation(variations) }
+ .select { |variation| available_locale?(variation) }
.map(&:to_sym)
end
+ def insert_self_variation(variations)
+ return variations if variations.length == 1
+
+ self_variation = "#{variations.last}-#{variations.last.upcase}"
+ return variations if variations.include?(self_variation)
+
+ variations.insert(-2, self_variation)
+ end
+
+ def available_locale?(locale)
+ available_locales.include?(locale)
+ end
+
+ def available_locales
+ @available_locales ||= Set.new(Cldr::Export::Data.locales.map { _1.tr('_', '-') })
+ end
+
def ensure_cldr_database_is_downloaded
return if cldr_db_location.exist?
@@ -102,12 +131,12 @@ end
class GenerateTranslationFiles
COMMENT = <<~COMMENT.freeze
- # This file has been generated by #{$0}.
+ # This file has been generated by #{Pathname.new($0).cleanpath}.
# Please do not edit directly.
#
- # To update this file, run #{$0}.
+ # To update this file, run #{Pathname.new($0).cleanpath}.
#
- # The translations come from version #{CldrTranslations::CLDR_VERSION} of the Unicode CLDR project .
+ # 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