From 30f30493978242883bab28dfaa71370b9f0fee74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Thu, 7 Mar 2024 20:11:50 +0100 Subject: [PATCH] Add pt-BR and pt-PT as default, and more languages Add all translations that have active translators, and are at or around 50% translation ratio. Do we perhaps want to enable all to improve translations, and mark those that have a bad ratio? --- config/constants/settings/definition.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/constants/settings/definition.rb b/config/constants/settings/definition.rb index 6f007416cf8b..849bfdd219af 100644 --- a/config/constants/settings/definition.rb +++ b/config/constants/settings/definition.rb @@ -147,7 +147,9 @@ class Definition }, available_languages: { format: :array, - default: %w[en de fr es pt it zh-CN ko ru].freeze, + # Manually managed list with languages that have ~50+ translation ratio in Crowdin + # https://crowdin.com/project/openproject + default: %w[ca cs de el en es fr hu id it ja ko ko lt nl no pl pt-BR pt-PT ro ru sk sl sv tr uk zh-CN zh-TW].freeze, allowed: -> { Redmine::I18n.all_languages } }, avatar_link_expiry_seconds: {