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

[53584] Fix Portuguese languages mapping

Christophe Bliardd653ce6e4c0b
diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml
index 205c58e518d..ade7339c7a7 100644
--- a/.github/workflows/crowdin.yml
+++ b/.github/workflows/crowdin.yml
@@ -78,6 +78,9 @@ jobs:
env:
OPENPROJECT_CROWDIN_PROJECT: ${{ secrets.OPENPROJECT_CROWDINV2_PROJECT }}
OPENPROJECT_CROWDIN_API_KEY: ${{ secrets.OPENPROJECT_CROWDINV2_API_KEY }}
+ - name: "Fix root key in Portuguese crowdin translation files"
+ run: |
+ script/i18n/fix_crowdin_pt_language_root_key
- name: "Commit translations"
run: |
git config user.name "OpenProject Actions CI"
diff --git a/config/locales/crowdin/js-pt-BR.yml b/config/locales/crowdin/js-pt-BR.yml
index 54544b89435..226c8fbad3c 100644
--- a/config/locales/crowdin/js-pt-BR.yml
+++ b/config/locales/crowdin/js-pt-BR.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-BR:
js:
ajax:
hide: "Ocultar"
diff --git a/config/locales/crowdin/js-pt-PT.yml b/config/locales/crowdin/js-pt-PT.yml
index a71080afd87..e3d53bf6560 100644
--- a/config/locales/crowdin/js-pt-PT.yml
+++ b/config/locales/crowdin/js-pt-PT.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-PT:
js:
ajax:
hide: "Ocultar"
diff --git a/config/locales/crowdin/pt-BR.seeders.yml b/config/locales/crowdin/pt-BR.seeders.yml
index 6bb58afb32f..70607b6171e 100644
--- a/config/locales/crowdin/pt-BR.seeders.yml
+++ b/config/locales/crowdin/pt-BR.seeders.yml
@@ -2,7 +2,7 @@
#Please do not edit directly.
#This file is part of the sources sent to crowdin for translation.
---
-pt:
+pt-BR:
seeds:
common:
colors:
diff --git a/config/locales/crowdin/pt-BR.yml b/config/locales/crowdin/pt-BR.yml
index 07a74a34551..f86c7349e66 100644
--- a/config/locales/crowdin/pt-BR.yml
+++ b/config/locales/crowdin/pt-BR.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-BR:
no_results_title_text: Atualmente, não há o que exibir.
activities:
index:
diff --git a/config/locales/crowdin/pt-PT.seeders.yml b/config/locales/crowdin/pt-PT.seeders.yml
index 37bb5c241ee..97e72a7f968 100644
--- a/config/locales/crowdin/pt-PT.seeders.yml
+++ b/config/locales/crowdin/pt-PT.seeders.yml
@@ -2,7 +2,7 @@
#Please do not edit directly.
#This file is part of the sources sent to crowdin for translation.
---
-pt:
+pt-PT:
seeds:
common:
colors:
diff --git a/config/locales/crowdin/pt-PT.yml b/config/locales/crowdin/pt-PT.yml
index e17a2aab9ea..19612cd3780 100644
--- a/config/locales/crowdin/pt-PT.yml
+++ b/config/locales/crowdin/pt-PT.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-PT:
no_results_title_text: Atualmente, não há nada para exibir.
activities:
index:
diff --git a/modules/avatars/config/locales/crowdin/js-pt-BR.yml b/modules/avatars/config/locales/crowdin/js-pt-BR.yml
index caa968380f5..3b29c9deb4a 100644
--- a/modules/avatars/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/avatars/config/locales/crowdin/js-pt-BR.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-BR:
js:
label_preview: 'Pré-visualizar'
button_update: 'Atualizar'
diff --git a/modules/avatars/config/locales/crowdin/js-pt-PT.yml b/modules/avatars/config/locales/crowdin/js-pt-PT.yml
index ee292ad27c0..495cfbe4030 100644
--- a/modules/avatars/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/avatars/config/locales/crowdin/js-pt-PT.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-PT:
js:
label_preview: 'Pré visualizar'
button_update: 'Atualizar'
diff --git a/modules/avatars/config/locales/crowdin/pt-BR.yml b/modules/avatars/config/locales/crowdin/pt-BR.yml
index 1e6746f8d7c..1dbac87dd40 100644
--- a/modules/avatars/config/locales/crowdin/pt-BR.yml
+++ b/modules/avatars/config/locales/crowdin/pt-BR.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-BR:
plugin_openproject_avatars:
name: "Imagens do perfil"
description: >-
diff --git a/modules/avatars/config/locales/crowdin/pt-PT.yml b/modules/avatars/config/locales/crowdin/pt-PT.yml
index d1d9bcfcad0..f313f033434 100644
--- a/modules/avatars/config/locales/crowdin/pt-PT.yml
+++ b/modules/avatars/config/locales/crowdin/pt-PT.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-PT:
plugin_openproject_avatars:
name: "Avatares"
description: >-
diff --git a/modules/backlogs/config/locales/crowdin/js-pt-BR.yml b/modules/backlogs/config/locales/crowdin/js-pt-BR.yml
index 003815df662..7845c9211a0 100644
--- a/modules/backlogs/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/backlogs/config/locales/crowdin/js-pt-BR.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-BR:
js:
work_packages:
properties:
diff --git a/modules/backlogs/config/locales/crowdin/js-pt-PT.yml b/modules/backlogs/config/locales/crowdin/js-pt-PT.yml
index b75a09cb255..fb1abc58136 100644
--- a/modules/backlogs/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/backlogs/config/locales/crowdin/js-pt-PT.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-PT:
js:
work_packages:
properties:
diff --git a/modules/backlogs/config/locales/crowdin/pt-BR.yml b/modules/backlogs/config/locales/crowdin/pt-BR.yml
index b8c6e3776b3..63172ca2d9e 100644
--- a/modules/backlogs/config/locales/crowdin/pt-BR.yml
+++ b/modules/backlogs/config/locales/crowdin/pt-BR.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-BR:
plugin_openproject_backlogs:
name: "Backlogs OpenProject"
description: "Este módulo acrescenta recursos que permitem que as equipes ágeis trabalhem com o OpenProject em projetos Scrum."
diff --git a/modules/backlogs/config/locales/crowdin/pt-PT.yml b/modules/backlogs/config/locales/crowdin/pt-PT.yml
index 04cea10164e..c77ddaacd14 100644
--- a/modules/backlogs/config/locales/crowdin/pt-PT.yml
+++ b/modules/backlogs/config/locales/crowdin/pt-PT.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-PT:
plugin_openproject_backlogs:
name: "Repositórios OpenProject"
description: "Este módulo acrescenta funcionalidades que permitem às equipas Agile trabalhar com o OpenProject em projetos Scrum."
diff --git a/modules/bim/config/locales/crowdin/js-pt-BR.yml b/modules/bim/config/locales/crowdin/js-pt-BR.yml
index 646cc77181a..7425b318dc7 100644
--- a/modules/bim/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/bim/config/locales/crowdin/js-pt-BR.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-BR:
js:
bcf:
label_bcf: 'BCF'
diff --git a/modules/bim/config/locales/crowdin/js-pt-PT.yml b/modules/bim/config/locales/crowdin/js-pt-PT.yml
index eb8a6792f08..3c9b05524a1 100644
--- a/modules/bim/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/bim/config/locales/crowdin/js-pt-PT.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-PT:
js:
bcf:
label_bcf: 'BCF'
diff --git a/modules/bim/config/locales/crowdin/pt-BR.seeders.yml b/modules/bim/config/locales/crowdin/pt-BR.seeders.yml
index 7774cdba654..0d82162c385 100644
--- a/modules/bim/config/locales/crowdin/pt-BR.seeders.yml
+++ b/modules/bim/config/locales/crowdin/pt-BR.seeders.yml
@@ -2,7 +2,7 @@
#Please do not edit directly.
#This file is part of the sources sent to crowdin for translation.
---
-pt:
+pt-BR:
seeds:
bim:
priorities:
diff --git a/modules/bim/config/locales/crowdin/pt-BR.yml b/modules/bim/config/locales/crowdin/pt-BR.yml
index 8cc38cdd889..9c8b89a127b 100644
--- a/modules/bim/config/locales/crowdin/pt-BR.yml
+++ b/modules/bim/config/locales/crowdin/pt-BR.yml
@@ -1,5 +1,5 @@
#English strings go here for Rails i18n
-pt:
+pt-BR:
plugin_openproject_bim:
name: "Funcionalidade BIM e BCF do OpenProject"
description: "Este plugin do OpenProject introduz a funcionalidade BIM e BCF."
diff --git a/modules/bim/config/locales/crowdin/pt-PT.seeders.yml b/modules/bim/config/locales/crowdin/pt-PT.seeders.yml
index fa7f58af58a..9de5a793903 100644
--- a/modules/bim/config/locales/crowdin/pt-PT.seeders.yml
+++ b/modules/bim/config/locales/crowdin/pt-PT.seeders.yml
@@ -2,7 +2,7 @@
#Please do not edit directly.
#This file is part of the sources sent to crowdin for translation.
---
-pt:
+pt-PT:
seeds:
bim:
priorities:
diff --git a/modules/bim/config/locales/crowdin/pt-PT.yml b/modules/bim/config/locales/crowdin/pt-PT.yml
index f24bbb2f7ef..ce55bd40cda 100644
--- a/modules/bim/config/locales/crowdin/pt-PT.yml
+++ b/modules/bim/config/locales/crowdin/pt-PT.yml
@@ -1,5 +1,5 @@
#English strings go here for Rails i18n
-pt:
+pt-PT:
plugin_openproject_bim:
name: "Funcionalidade BIM e BCF do OpenProject"
description: "Este plugin do OpenProject introduz a funcionalidade BIM e BCF."
diff --git a/modules/boards/config/locales/crowdin/js-pt-BR.yml b/modules/boards/config/locales/crowdin/js-pt-BR.yml
index b316762e513..aa4e60e5ce6 100644
--- a/modules/boards/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/boards/config/locales/crowdin/js-pt-BR.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-BR:
js:
boards:
create_new: 'Criar novo quadro'
diff --git a/modules/boards/config/locales/crowdin/js-pt-PT.yml b/modules/boards/config/locales/crowdin/js-pt-PT.yml
index bc9108070da..d447f2d2081 100644
--- a/modules/boards/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/boards/config/locales/crowdin/js-pt-PT.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-PT:
js:
boards:
create_new: 'Criar novo quadro'
diff --git a/modules/boards/config/locales/crowdin/pt-BR.seeders.yml b/modules/boards/config/locales/crowdin/pt-BR.seeders.yml
index e4bdb243507..d180fdf67bf 100644
--- a/modules/boards/config/locales/crowdin/pt-BR.seeders.yml
+++ b/modules/boards/config/locales/crowdin/pt-BR.seeders.yml
@@ -5,4 +5,4 @@
#located in the modules directories are needed to have crowdin cli correctly
#compute the path to the uploaded source file.
#This file does not contain any i18n strings.
-pt:
+pt-BR:
diff --git a/modules/boards/config/locales/crowdin/pt-BR.yml b/modules/boards/config/locales/crowdin/pt-BR.yml
index 487980ca131..0149cc4ef9e 100644
--- a/modules/boards/config/locales/crowdin/pt-BR.yml
+++ b/modules/boards/config/locales/crowdin/pt-BR.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-BR:
plugin_openproject_boards:
name: "Quadros do OpenProject"
description: "Fornece visualizações do quadro."
diff --git a/modules/boards/config/locales/crowdin/pt-PT.seeders.yml b/modules/boards/config/locales/crowdin/pt-PT.seeders.yml
index e4bdb243507..bdd962ed457 100644
--- a/modules/boards/config/locales/crowdin/pt-PT.seeders.yml
+++ b/modules/boards/config/locales/crowdin/pt-PT.seeders.yml
@@ -5,4 +5,4 @@
#located in the modules directories are needed to have crowdin cli correctly
#compute the path to the uploaded source file.
#This file does not contain any i18n strings.
-pt:
+pt-PT:
diff --git a/modules/boards/config/locales/crowdin/pt-PT.yml b/modules/boards/config/locales/crowdin/pt-PT.yml
index 5bfefefb064..45805106c57 100644
--- a/modules/boards/config/locales/crowdin/pt-PT.yml
+++ b/modules/boards/config/locales/crowdin/pt-PT.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-PT:
plugin_openproject_boards:
name: "Quadros do OpenProject"
description: "Fornece vistas do quadro."
diff --git a/modules/budgets/config/locales/crowdin/js-pt-BR.yml b/modules/budgets/config/locales/crowdin/js-pt-BR.yml
index b61d8f714f3..d821c6ce69c 100644
--- a/modules/budgets/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/budgets/config/locales/crowdin/js-pt-BR.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-BR:
js:
work_packages:
properties:
diff --git a/modules/budgets/config/locales/crowdin/js-pt-PT.yml b/modules/budgets/config/locales/crowdin/js-pt-PT.yml
index b61d8f714f3..c5a75d8a6e1 100644
--- a/modules/budgets/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/budgets/config/locales/crowdin/js-pt-PT.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-PT:
js:
work_packages:
properties:
diff --git a/modules/budgets/config/locales/crowdin/pt-BR.yml b/modules/budgets/config/locales/crowdin/pt-BR.yml
index 2ff55be55ff..6dac6a7faae 100644
--- a/modules/budgets/config/locales/crowdin/pt-BR.yml
+++ b/modules/budgets/config/locales/crowdin/pt-BR.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-BR:
plugin_budgets_engine:
name: 'Orçamentos'
activerecord:
diff --git a/modules/budgets/config/locales/crowdin/pt-PT.yml b/modules/budgets/config/locales/crowdin/pt-PT.yml
index 90e2d6642b4..1b4ced7bc57 100644
--- a/modules/budgets/config/locales/crowdin/pt-PT.yml
+++ b/modules/budgets/config/locales/crowdin/pt-PT.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-PT:
plugin_budgets_engine:
name: 'Orçamentos'
activerecord:
diff --git a/modules/calendar/config/locales/crowdin/js-pt-BR.yml b/modules/calendar/config/locales/crowdin/js-pt-BR.yml
index 5b6274d63a3..ad51db24e13 100644
--- a/modules/calendar/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/calendar/config/locales/crowdin/js-pt-BR.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-BR:
js:
calendar:
create_new: 'Criar novo calendário'
diff --git a/modules/calendar/config/locales/crowdin/js-pt-PT.yml b/modules/calendar/config/locales/crowdin/js-pt-PT.yml
index a6e21759e65..84b80223c2f 100644
--- a/modules/calendar/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/calendar/config/locales/crowdin/js-pt-PT.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-PT:
js:
calendar:
create_new: 'Criar novo calendário'
diff --git a/modules/calendar/config/locales/crowdin/pt-BR.yml b/modules/calendar/config/locales/crowdin/pt-BR.yml
index ffc1a019908..e434cc6516a 100644
--- a/modules/calendar/config/locales/crowdin/pt-BR.yml
+++ b/modules/calendar/config/locales/crowdin/pt-BR.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-BR:
plugin_openproject_calendar:
name: "Calendário OpenProject"
description: "Fornece visualizações do calendário."
diff --git a/modules/calendar/config/locales/crowdin/pt-PT.yml b/modules/calendar/config/locales/crowdin/pt-PT.yml
index 8806bbabe1c..2ce4bfac061 100644
--- a/modules/calendar/config/locales/crowdin/pt-PT.yml
+++ b/modules/calendar/config/locales/crowdin/pt-PT.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-PT:
plugin_openproject_calendar:
name: "Calendário OpenProject"
description: "Fornece visualizações do calendário."
diff --git a/modules/costs/config/locales/crowdin/js-pt-BR.yml b/modules/costs/config/locales/crowdin/js-pt-BR.yml
index 546b2d01fba..b082a46b6d1 100644
--- a/modules/costs/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/costs/config/locales/crowdin/js-pt-BR.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-BR:
js:
work_packages:
property_groups:
diff --git a/modules/costs/config/locales/crowdin/js-pt-PT.yml b/modules/costs/config/locales/crowdin/js-pt-PT.yml
index 3294144067d..8498784808e 100644
--- a/modules/costs/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/costs/config/locales/crowdin/js-pt-PT.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-PT:
js:
work_packages:
property_groups:
diff --git a/modules/costs/config/locales/crowdin/pt-BR.yml b/modules/costs/config/locales/crowdin/pt-BR.yml
index fe5298744da..b4ec08e3065 100644
--- a/modules/costs/config/locales/crowdin/pt-BR.yml
+++ b/modules/costs/config/locales/crowdin/pt-BR.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-BR:
plugin_costs:
name: "Tempo e custos"
description: "Este módulo acrescenta recursos para planejar e monitorar os custos dos projetos."
diff --git a/modules/costs/config/locales/crowdin/pt-PT.yml b/modules/costs/config/locales/crowdin/pt-PT.yml
index c4d939811e4..e3e3eb6fa74 100644
--- a/modules/costs/config/locales/crowdin/pt-PT.yml
+++ b/modules/costs/config/locales/crowdin/pt-PT.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-PT:
plugin_costs:
name: "Tempo e custos"
description: "Este módulo acrescenta funcionalidades para planear e acompanhar os custos dos projetos."
diff --git a/modules/dashboards/config/locales/crowdin/js-pt-BR.yml b/modules/dashboards/config/locales/crowdin/js-pt-BR.yml
index 4ab0b6b573f..9aafff8e641 100644
--- a/modules/dashboards/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/dashboards/config/locales/crowdin/js-pt-BR.yml
@@ -1,4 +1,4 @@
-pt:
+pt-BR:
js:
dashboards:
label: 'Painel'
diff --git a/modules/dashboards/config/locales/crowdin/js-pt-PT.yml b/modules/dashboards/config/locales/crowdin/js-pt-PT.yml
index f390c59ac10..862ac47440e 100644
--- a/modules/dashboards/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/dashboards/config/locales/crowdin/js-pt-PT.yml
@@ -1,4 +1,4 @@
-pt:
+pt-PT:
js:
dashboards:
label: 'Painel de Controlo'
diff --git a/modules/dashboards/config/locales/crowdin/pt-BR.yml b/modules/dashboards/config/locales/crowdin/pt-BR.yml
index 21ba5bc596c..d55391e6ca3 100644
--- a/modules/dashboards/config/locales/crowdin/pt-BR.yml
+++ b/modules/dashboards/config/locales/crowdin/pt-BR.yml
@@ -1,4 +1,4 @@
-pt:
+pt-BR:
dashboards:
label: 'Painéis'
project_module_dashboards: 'Painéis'
diff --git a/modules/dashboards/config/locales/crowdin/pt-PT.yml b/modules/dashboards/config/locales/crowdin/pt-PT.yml
index 6f6e5d785e0..e884662919c 100644
--- a/modules/dashboards/config/locales/crowdin/pt-PT.yml
+++ b/modules/dashboards/config/locales/crowdin/pt-PT.yml
@@ -1,4 +1,4 @@
-pt:
+pt-PT:
dashboards:
label: 'Painéis de controlo'
project_module_dashboards: 'Painéis de controle'
diff --git a/modules/documents/config/locales/crowdin/pt-BR.yml b/modules/documents/config/locales/crowdin/pt-BR.yml
index e702bd7f9a7..d3f4f66d2c1 100644
--- a/modules/documents/config/locales/crowdin/pt-BR.yml
+++ b/modules/documents/config/locales/crowdin/pt-BR.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-BR:
plugin_openproject_documents:
name: "Documentos do OpenProject"
description: "Um plugin OpenProject para permitir a criação de documentos em projetos."
diff --git a/modules/documents/config/locales/crowdin/pt-PT.yml b/modules/documents/config/locales/crowdin/pt-PT.yml
index 964ed01ea63..22cb9da2f10 100644
--- a/modules/documents/config/locales/crowdin/pt-PT.yml
+++ b/modules/documents/config/locales/crowdin/pt-PT.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-PT:
plugin_openproject_documents:
name: "Documentos do OpenProject"
description: "Um plugin OpenProject para permitir a criação de documentos em projetos."
diff --git a/modules/gantt/config/locales/crowdin/js-pt-BR.yml b/modules/gantt/config/locales/crowdin/js-pt-BR.yml
index 0040575842b..a4802317bbb 100644
--- a/modules/gantt/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/gantt/config/locales/crowdin/js-pt-BR.yml
@@ -1,4 +1,4 @@
-pt:
+pt-BR:
js:
queries:
all_open: 'Tudo aberto'
diff --git a/modules/gantt/config/locales/crowdin/js-pt-PT.yml b/modules/gantt/config/locales/crowdin/js-pt-PT.yml
index d477cf988cc..bfd6b4a1e0c 100644
--- a/modules/gantt/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/gantt/config/locales/crowdin/js-pt-PT.yml
@@ -1,4 +1,4 @@
-pt:
+pt-PT:
js:
queries:
all_open: 'Tudo aberto'
diff --git a/modules/gantt/config/locales/crowdin/pt-BR.yml b/modules/gantt/config/locales/crowdin/pt-BR.yml
index 30806f322d0..4b2fa1b786d 100644
--- a/modules/gantt/config/locales/crowdin/pt-BR.yml
+++ b/modules/gantt/config/locales/crowdin/pt-BR.yml
@@ -1,3 +1,3 @@
#English strings go here
-pt:
+pt-BR:
project_module_gantt: "Gráficos de Gantt"
diff --git a/modules/gantt/config/locales/crowdin/pt-PT.yml b/modules/gantt/config/locales/crowdin/pt-PT.yml
index 30806f322d0..73fb705fcc5 100644
--- a/modules/gantt/config/locales/crowdin/pt-PT.yml
+++ b/modules/gantt/config/locales/crowdin/pt-PT.yml
@@ -1,3 +1,3 @@
#English strings go here
-pt:
+pt-PT:
project_module_gantt: "Gráficos de Gantt"
diff --git a/modules/github_integration/config/locales/crowdin/js-pt-BR.yml b/modules/github_integration/config/locales/crowdin/js-pt-BR.yml
index cc5634c62aa..07bc9f351d5 100644
--- a/modules/github_integration/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/github_integration/config/locales/crowdin/js-pt-BR.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-BR:
js:
github_integration:
work_packages:
diff --git a/modules/github_integration/config/locales/crowdin/js-pt-PT.yml b/modules/github_integration/config/locales/crowdin/js-pt-PT.yml
index e20fbd30802..c9bf44aa52a 100644
--- a/modules/github_integration/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/github_integration/config/locales/crowdin/js-pt-PT.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-PT:
js:
github_integration:
work_packages:
diff --git a/modules/github_integration/config/locales/crowdin/pt-BR.yml b/modules/github_integration/config/locales/crowdin/pt-BR.yml
index f793bb60845..a623297c379 100644
--- a/modules/github_integration/config/locales/crowdin/pt-BR.yml
+++ b/modules/github_integration/config/locales/crowdin/pt-BR.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-BR:
plugin_openproject_github_integration:
name: "Integração do OpenProject GitHub"
description: "Integra o OpenProject e o GitHub para um melhor fluxo de trabalho"
diff --git a/modules/github_integration/config/locales/crowdin/pt-PT.yml b/modules/github_integration/config/locales/crowdin/pt-PT.yml
index d1e32ea7bc8..319a17c6e6a 100644
--- a/modules/github_integration/config/locales/crowdin/pt-PT.yml
+++ b/modules/github_integration/config/locales/crowdin/pt-PT.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-PT:
plugin_openproject_github_integration:
name: "Integração do OpenProject GitHub"
description: "Integra o OpenProject e o GitHub para um melhor fluxo de trabalho"
diff --git a/modules/gitlab_integration/config/locales/crowdin/js-pt-BR.yml b/modules/gitlab_integration/config/locales/crowdin/js-pt-BR.yml
index 2f95b55b1fd..4c30f98f039 100644
--- a/modules/gitlab_integration/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/gitlab_integration/config/locales/crowdin/js-pt-BR.yml
@@ -20,7 +20,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See docs/COPYRIGHT.rdoc for more details.
#++
-pt:
+pt-BR:
js:
gitlab_integration:
work_packages:
diff --git a/modules/gitlab_integration/config/locales/crowdin/js-pt-PT.yml b/modules/gitlab_integration/config/locales/crowdin/js-pt-PT.yml
index 028bbc84e0a..f01e53cdbfc 100644
--- a/modules/gitlab_integration/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/gitlab_integration/config/locales/crowdin/js-pt-PT.yml
@@ -20,7 +20,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See docs/COPYRIGHT.rdoc for more details.
#++
-pt:
+pt-PT:
js:
gitlab_integration:
work_packages:
diff --git a/modules/gitlab_integration/config/locales/crowdin/pt-BR.yml b/modules/gitlab_integration/config/locales/crowdin/pt-BR.yml
index 9178e4b1df3..992338e9171 100644
--- a/modules/gitlab_integration/config/locales/crowdin/pt-BR.yml
+++ b/modules/gitlab_integration/config/locales/crowdin/pt-BR.yml
@@ -20,7 +20,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See docs/COPYRIGHT.rdoc for more details.
#++
-pt:
+pt-BR:
activerecord:
errors:
models:
diff --git a/modules/gitlab_integration/config/locales/crowdin/pt-PT.yml b/modules/gitlab_integration/config/locales/crowdin/pt-PT.yml
index 548286d5692..2281be87d61 100644
--- a/modules/gitlab_integration/config/locales/crowdin/pt-PT.yml
+++ b/modules/gitlab_integration/config/locales/crowdin/pt-PT.yml
@@ -20,7 +20,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See docs/COPYRIGHT.rdoc for more details.
#++
-pt:
+pt-PT:
activerecord:
errors:
models:
diff --git a/modules/grids/config/locales/crowdin/js-pt-BR.yml b/modules/grids/config/locales/crowdin/js-pt-BR.yml
index 589f704ef93..c39352b8080 100644
--- a/modules/grids/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/grids/config/locales/crowdin/js-pt-BR.yml
@@ -1,4 +1,4 @@
-pt:
+pt-BR:
js:
grid:
add_widget: 'Adicionar widget'
diff --git a/modules/grids/config/locales/crowdin/js-pt-PT.yml b/modules/grids/config/locales/crowdin/js-pt-PT.yml
index 924418f14a3..468f88f1cc3 100644
--- a/modules/grids/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/grids/config/locales/crowdin/js-pt-PT.yml
@@ -1,4 +1,4 @@
-pt:
+pt-PT:
js:
grid:
add_widget: 'Adicionar widget'
diff --git a/modules/grids/config/locales/crowdin/pt-BR.yml b/modules/grids/config/locales/crowdin/pt-BR.yml
index 1f8442bd164..94418b93383 100644
--- a/modules/grids/config/locales/crowdin/pt-BR.yml
+++ b/modules/grids/config/locales/crowdin/pt-BR.yml
@@ -1,4 +1,4 @@
-pt:
+pt-BR:
grids:
label_widget_in_grid: "Widget contido na Grade %{grid_name}"
activerecord:
diff --git a/modules/grids/config/locales/crowdin/pt-PT.yml b/modules/grids/config/locales/crowdin/pt-PT.yml
index 34c68b02bce..dbc6415e633 100644
--- a/modules/grids/config/locales/crowdin/pt-PT.yml
+++ b/modules/grids/config/locales/crowdin/pt-PT.yml
@@ -1,4 +1,4 @@
-pt:
+pt-PT:
grids:
label_widget_in_grid: "Widget contido na Grelha %{grid_name}"
activerecord:
diff --git a/modules/job_status/config/locales/crowdin/js-pt-BR.yml b/modules/job_status/config/locales/crowdin/js-pt-BR.yml
index fb2cf29d336..f69fcd5a0e3 100644
--- a/modules/job_status/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/job_status/config/locales/crowdin/js-pt-BR.yml
@@ -1,4 +1,4 @@
-pt:
+pt-BR:
js:
job_status:
download_starts: 'O download deve iniciar automaticamente.'
diff --git a/modules/job_status/config/locales/crowdin/js-pt-PT.yml b/modules/job_status/config/locales/crowdin/js-pt-PT.yml
index ac1e013d811..1dbc2023771 100644
--- a/modules/job_status/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/job_status/config/locales/crowdin/js-pt-PT.yml
@@ -1,4 +1,4 @@
-pt:
+pt-PT:
js:
job_status:
download_starts: 'O download deve iniciar automaticamente.'
diff --git a/modules/job_status/config/locales/crowdin/pt-BR.yml b/modules/job_status/config/locales/crowdin/pt-BR.yml
index ec08d1fbbb6..45c91159ffe 100644
--- a/modules/job_status/config/locales/crowdin/pt-BR.yml
+++ b/modules/job_status/config/locales/crowdin/pt-BR.yml
@@ -1,4 +1,4 @@
-pt:
+pt-BR:
plugin_openproject_job_status:
name: "Situação do trabalho OpenProject"
description: "Listagem e situação dos trabalhos em segundo plano."
diff --git a/modules/job_status/config/locales/crowdin/pt-PT.yml b/modules/job_status/config/locales/crowdin/pt-PT.yml
index 01b7b950b87..bec78ecb81c 100644
--- a/modules/job_status/config/locales/crowdin/pt-PT.yml
+++ b/modules/job_status/config/locales/crowdin/pt-PT.yml
@@ -1,4 +1,4 @@
-pt:
+pt-PT:
plugin_openproject_job_status:
name: "Estado do trabalho OpenProject"
description: "Listagem e estado dos trabalhos em segundo plano."
diff --git a/modules/ldap_groups/config/locales/crowdin/pt-BR.yml b/modules/ldap_groups/config/locales/crowdin/pt-BR.yml
index 52068058128..5674ce36a1e 100644
--- a/modules/ldap_groups/config/locales/crowdin/pt-BR.yml
+++ b/modules/ldap_groups/config/locales/crowdin/pt-BR.yml
@@ -1,4 +1,4 @@
-pt:
+pt-BR:
plugin_openproject_ldap_groups:
name: "Grupos LDAP do OpenProject"
description: "Sincronização de associações de grupos LDAP."
diff --git a/modules/ldap_groups/config/locales/crowdin/pt-PT.yml b/modules/ldap_groups/config/locales/crowdin/pt-PT.yml
index e78e0ac3849..3bf9b12f09e 100644
--- a/modules/ldap_groups/config/locales/crowdin/pt-PT.yml
+++ b/modules/ldap_groups/config/locales/crowdin/pt-PT.yml
@@ -1,4 +1,4 @@
-pt:
+pt-PT:
plugin_openproject_ldap_groups:
name: "Grupos LDAP do OpenProject"
description: "Sincronização de associações de grupos LDAP."
diff --git a/modules/meeting/config/locales/crowdin/js-pt-BR.yml b/modules/meeting/config/locales/crowdin/js-pt-BR.yml
index 5f850f4538e..47c62b8943f 100644
--- a/modules/meeting/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/meeting/config/locales/crowdin/js-pt-BR.yml
@@ -19,6 +19,6 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-BR:
js:
label_meetings: 'Reuniões'
diff --git a/modules/meeting/config/locales/crowdin/js-pt-PT.yml b/modules/meeting/config/locales/crowdin/js-pt-PT.yml
index 5f850f4538e..16cdac93634 100644
--- a/modules/meeting/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/meeting/config/locales/crowdin/js-pt-PT.yml
@@ -19,6 +19,6 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-PT:
js:
label_meetings: 'Reuniões'
diff --git a/modules/meeting/config/locales/crowdin/pt-BR.seeders.yml b/modules/meeting/config/locales/crowdin/pt-BR.seeders.yml
index 8049e00f3b7..2d1eb4c6d26 100644
--- a/modules/meeting/config/locales/crowdin/pt-BR.seeders.yml
+++ b/modules/meeting/config/locales/crowdin/pt-BR.seeders.yml
@@ -2,7 +2,7 @@
#Please do not edit directly.
#This file is part of the sources sent to crowdin for translation.
---
-pt:
+pt-BR:
seeds:
standard:
projects:
diff --git a/modules/meeting/config/locales/crowdin/pt-BR.yml b/modules/meeting/config/locales/crowdin/pt-BR.yml
index 5e6db0db004..c20cde6f42a 100644
--- a/modules/meeting/config/locales/crowdin/pt-BR.yml
+++ b/modules/meeting/config/locales/crowdin/pt-BR.yml
@@ -20,7 +20,7 @@
#See COPYRIGHT and LICENSE files for more details.
#++
#English strings go here for Rails i18n
-pt:
+pt-BR:
plugin_openproject_meeting:
name: "Reunião do OpenProject"
description: >-
diff --git a/modules/meeting/config/locales/crowdin/pt-PT.seeders.yml b/modules/meeting/config/locales/crowdin/pt-PT.seeders.yml
index 80e5be5ebe2..4f63928bdae 100644
--- a/modules/meeting/config/locales/crowdin/pt-PT.seeders.yml
+++ b/modules/meeting/config/locales/crowdin/pt-PT.seeders.yml
@@ -2,7 +2,7 @@
#Please do not edit directly.
#This file is part of the sources sent to crowdin for translation.
---
-pt:
+pt-PT:
seeds:
standard:
projects:
diff --git a/modules/meeting/config/locales/crowdin/pt-PT.yml b/modules/meeting/config/locales/crowdin/pt-PT.yml
index 87e1555225b..5431a9b95d5 100644
--- a/modules/meeting/config/locales/crowdin/pt-PT.yml
+++ b/modules/meeting/config/locales/crowdin/pt-PT.yml
@@ -20,7 +20,7 @@
#See COPYRIGHT and LICENSE files for more details.
#++
#English strings go here for Rails i18n
-pt:
+pt-PT:
plugin_openproject_meeting:
name: "Reunião do OpenProject"
description: >-
diff --git a/modules/my_page/config/locales/crowdin/js-pt-BR.yml b/modules/my_page/config/locales/crowdin/js-pt-BR.yml
index 859e96f039b..03810b223f3 100644
--- a/modules/my_page/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/my_page/config/locales/crowdin/js-pt-BR.yml
@@ -1,4 +1,4 @@
-pt:
+pt-BR:
js:
my_page:
label: "Minha página"
diff --git a/modules/my_page/config/locales/crowdin/js-pt-PT.yml b/modules/my_page/config/locales/crowdin/js-pt-PT.yml
index d9dc89e0571..787cc615dbb 100644
--- a/modules/my_page/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/my_page/config/locales/crowdin/js-pt-PT.yml
@@ -1,4 +1,4 @@
-pt:
+pt-PT:
js:
my_page:
label: "A minha página"
diff --git a/modules/openid_connect/config/locales/crowdin/pt-BR.yml b/modules/openid_connect/config/locales/crowdin/pt-BR.yml
index 41d80a844de..74764dad568 100644
--- a/modules/openid_connect/config/locales/crowdin/pt-BR.yml
+++ b/modules/openid_connect/config/locales/crowdin/pt-BR.yml
@@ -1,4 +1,4 @@
-pt:
+pt-BR:
plugin_openproject_openid_connect:
name: "Conectar OpenProject OpenID"
description: "Adiciona provedores de estratégia OmniAuth OpenID Connect ao Openproject."
diff --git a/modules/openid_connect/config/locales/crowdin/pt-PT.yml b/modules/openid_connect/config/locales/crowdin/pt-PT.yml
index e64f1d0d91f..8ac260196e3 100644
--- a/modules/openid_connect/config/locales/crowdin/pt-PT.yml
+++ b/modules/openid_connect/config/locales/crowdin/pt-PT.yml
@@ -1,4 +1,4 @@
-pt:
+pt-PT:
plugin_openproject_openid_connect:
name: "OpenProject OpenID Connect"
description: "Adiciona fornecedores da estratégia OmniAuth OpenID Connect ao Openproject."
diff --git a/modules/overviews/config/locales/crowdin/js-pt-BR.yml b/modules/overviews/config/locales/crowdin/js-pt-BR.yml
index 436bc25f1a3..7f83bd2a2ca 100644
--- a/modules/overviews/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/overviews/config/locales/crowdin/js-pt-BR.yml
@@ -1,4 +1,4 @@
-pt:
+pt-BR:
js:
overviews:
label: 'Visão geral'
diff --git a/modules/overviews/config/locales/crowdin/js-pt-PT.yml b/modules/overviews/config/locales/crowdin/js-pt-PT.yml
index 0b2501692c3..bf7cabe5946 100644
--- a/modules/overviews/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/overviews/config/locales/crowdin/js-pt-PT.yml
@@ -1,4 +1,4 @@
-pt:
+pt-PT:
js:
overviews:
label: 'Sinopse'
diff --git a/modules/overviews/config/locales/crowdin/pt-BR.yml b/modules/overviews/config/locales/crowdin/pt-BR.yml
index d52a98c9f0e..62a5e4574b5 100644
--- a/modules/overviews/config/locales/crowdin/pt-BR.yml
+++ b/modules/overviews/config/locales/crowdin/pt-BR.yml
@@ -1,4 +1,4 @@
-pt:
+pt-BR:
overviews:
label: 'Visão geral'
permission_manage_overview: 'Gerenciar página de visão geral'
diff --git a/modules/overviews/config/locales/crowdin/pt-PT.yml b/modules/overviews/config/locales/crowdin/pt-PT.yml
index bb1318a226f..d25abafa09e 100644
--- a/modules/overviews/config/locales/crowdin/pt-PT.yml
+++ b/modules/overviews/config/locales/crowdin/pt-PT.yml
@@ -1,4 +1,4 @@
-pt:
+pt-PT:
overviews:
label: 'Visão geral'
permission_manage_overview: 'Gerir página de visão geral'
diff --git a/modules/recaptcha/config/locales/crowdin/pt-BR.yml b/modules/recaptcha/config/locales/crowdin/pt-BR.yml
index 83fcf63093c..16dffd5b677 100644
--- a/modules/recaptcha/config/locales/crowdin/pt-BR.yml
+++ b/modules/recaptcha/config/locales/crowdin/pt-BR.yml
@@ -1,5 +1,5 @@
#English strings go here for Rails i18n
-pt:
+pt-BR:
plugin_openproject_recaptcha:
name: "ReCaptcha do OpenProject"
description: "Este módulo fornece verificações recaptcha durante o início de sessão."
diff --git a/modules/recaptcha/config/locales/crowdin/pt-PT.yml b/modules/recaptcha/config/locales/crowdin/pt-PT.yml
index 9344c9bdf49..7982b12d7a4 100644
--- a/modules/recaptcha/config/locales/crowdin/pt-PT.yml
+++ b/modules/recaptcha/config/locales/crowdin/pt-PT.yml
@@ -1,5 +1,5 @@
#English strings go here for Rails i18n
-pt:
+pt-PT:
plugin_openproject_recaptcha:
name: "ReCaptcha do OpenProject"
description: "Este módulo fornece verificações recaptcha durante o início de sessão."
diff --git a/modules/reporting/config/locales/crowdin/js-pt-BR.yml b/modules/reporting/config/locales/crowdin/js-pt-BR.yml
index 30c0350863d..c94fd8e3d4f 100644
--- a/modules/reporting/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/reporting/config/locales/crowdin/js-pt-BR.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-BR:
js:
reporting_engine:
label_remove: "Excluir"
diff --git a/modules/reporting/config/locales/crowdin/js-pt-PT.yml b/modules/reporting/config/locales/crowdin/js-pt-PT.yml
index 58373c5bb89..dbe5aa4f6c3 100644
--- a/modules/reporting/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/reporting/config/locales/crowdin/js-pt-PT.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-PT:
js:
reporting_engine:
label_remove: "Eliminar"
diff --git a/modules/reporting/config/locales/crowdin/pt-BR.yml b/modules/reporting/config/locales/crowdin/pt-BR.yml
index 5f77c6611e2..fe16440fb12 100644
--- a/modules/reporting/config/locales/crowdin/pt-BR.yml
+++ b/modules/reporting/config/locales/crowdin/pt-BR.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-BR:
plugin_openproject_reporting:
name: "Relatórios do OpenProject"
description: "Este plugin permite a criação de relatórios de custos personalizados com filtragem e agrupamento criados pelo plugin OpenProject Time e custos."
diff --git a/modules/reporting/config/locales/crowdin/pt-PT.yml b/modules/reporting/config/locales/crowdin/pt-PT.yml
index d5d5b525186..d16aea0d54e 100644
--- a/modules/reporting/config/locales/crowdin/pt-PT.yml
+++ b/modules/reporting/config/locales/crowdin/pt-PT.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-PT:
plugin_openproject_reporting:
name: "Relatórios do OpenProject"
description: "Este plugin permite criar relatórios de custos personalizados com filtragem e agrupamento criados pelo plugin OpenProject Time e custos."
diff --git a/modules/storages/config/locales/crowdin/js-pt-BR.yml b/modules/storages/config/locales/crowdin/js-pt-BR.yml
index 9a28a2b6299..3b18fc04342 100644
--- a/modules/storages/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/storages/config/locales/crowdin/js-pt-BR.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-BR:
js:
storages:
link_files_in_storage: "Vincular arquivos em %{storageType}"
diff --git a/modules/storages/config/locales/crowdin/js-pt-PT.yml b/modules/storages/config/locales/crowdin/js-pt-PT.yml
index ca2915605e4..3afdd9bc6d8 100644
--- a/modules/storages/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/storages/config/locales/crowdin/js-pt-PT.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-PT:
js:
storages:
link_files_in_storage: "Vincular ficheiros em %{storageType}"
diff --git a/modules/storages/config/locales/crowdin/pt-BR.yml b/modules/storages/config/locales/crowdin/pt-BR.yml
index a9758828e8a..04de4e7e4ae 100644
--- a/modules/storages/config/locales/crowdin/pt-BR.yml
+++ b/modules/storages/config/locales/crowdin/pt-BR.yml
@@ -1,4 +1,4 @@
-pt:
+pt-BR:
activerecord:
attributes:
storages/file_link:
diff --git a/modules/storages/config/locales/crowdin/pt-PT.yml b/modules/storages/config/locales/crowdin/pt-PT.yml
index 585507858b3..791b6d5cb36 100644
--- a/modules/storages/config/locales/crowdin/pt-PT.yml
+++ b/modules/storages/config/locales/crowdin/pt-PT.yml
@@ -1,4 +1,4 @@
-pt:
+pt-PT:
activerecord:
attributes:
storages/file_link:
diff --git a/modules/team_planner/config/locales/crowdin/js-pt-BR.yml b/modules/team_planner/config/locales/crowdin/js-pt-BR.yml
index 4b78496fcd9..1a95e571f2a 100644
--- a/modules/team_planner/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/team_planner/config/locales/crowdin/js-pt-BR.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-BR:
js:
team_planner:
add_existing: 'Adicionar existente'
diff --git a/modules/team_planner/config/locales/crowdin/js-pt-PT.yml b/modules/team_planner/config/locales/crowdin/js-pt-PT.yml
index 560997823d7..a2e05578017 100644
--- a/modules/team_planner/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/team_planner/config/locales/crowdin/js-pt-PT.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-PT:
js:
team_planner:
add_existing: 'Adicionar existente'
diff --git a/modules/team_planner/config/locales/crowdin/pt-BR.yml b/modules/team_planner/config/locales/crowdin/pt-BR.yml
index c6f1146ba65..7206c4ba8df 100644
--- a/modules/team_planner/config/locales/crowdin/pt-BR.yml
+++ b/modules/team_planner/config/locales/crowdin/pt-BR.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-BR:
plugin_openproject_team_planner:
name: "Planejador de equipes OpenProject"
description: "Fornece visualizações do planejador de equipes."
diff --git a/modules/team_planner/config/locales/crowdin/pt-PT.yml b/modules/team_planner/config/locales/crowdin/pt-PT.yml
index e1a02a84bd7..4d1150b1f11 100644
--- a/modules/team_planner/config/locales/crowdin/pt-PT.yml
+++ b/modules/team_planner/config/locales/crowdin/pt-PT.yml
@@ -1,5 +1,5 @@
#English strings go here
-pt:
+pt-PT:
plugin_openproject_team_planner:
name: "Planeador de equipas OpenProject"
description: "Fornece visualizações do planeador de equipas."
diff --git a/modules/two_factor_authentication/config/locales/crowdin/js-pt-BR.yml b/modules/two_factor_authentication/config/locales/crowdin/js-pt-BR.yml
index 7d4f33fa04a..372544c095b 100644
--- a/modules/two_factor_authentication/config/locales/crowdin/js-pt-BR.yml
+++ b/modules/two_factor_authentication/config/locales/crowdin/js-pt-BR.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-BR:
js:
two_factor_authentication:
errors:
diff --git a/modules/two_factor_authentication/config/locales/crowdin/js-pt-PT.yml b/modules/two_factor_authentication/config/locales/crowdin/js-pt-PT.yml
index dbaec2f1af3..d51a43480f8 100644
--- a/modules/two_factor_authentication/config/locales/crowdin/js-pt-PT.yml
+++ b/modules/two_factor_authentication/config/locales/crowdin/js-pt-PT.yml
@@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
-pt:
+pt-PT:
js:
two_factor_authentication:
errors:
diff --git a/modules/two_factor_authentication/config/locales/crowdin/pt-BR.yml b/modules/two_factor_authentication/config/locales/crowdin/pt-BR.yml
index c3f99ecebd7..684c982be7e 100644
--- a/modules/two_factor_authentication/config/locales/crowdin/pt-BR.yml
+++ b/modules/two_factor_authentication/config/locales/crowdin/pt-BR.yml
@@ -1,5 +1,5 @@
#English strings go here for Rails i18n
-pt:
+pt-BR:
plugin_openproject_two_factor_authentication:
name: "Autenticação de dois fatores do OpenProject"
description: >-
diff --git a/modules/two_factor_authentication/config/locales/crowdin/pt-PT.yml b/modules/two_factor_authentication/config/locales/crowdin/pt-PT.yml
index ba45743d6f0..713fd96f3f0 100644
--- a/modules/two_factor_authentication/config/locales/crowdin/pt-PT.yml
+++ b/modules/two_factor_authentication/config/locales/crowdin/pt-PT.yml
@@ -1,5 +1,5 @@
#English strings go here for Rails i18n
-pt:
+pt-PT:
plugin_openproject_two_factor_authentication:
name: "Autenticação de dois fatores do OpenProject"
description: >-
diff --git a/modules/webhooks/config/locales/crowdin/pt-BR.yml b/modules/webhooks/config/locales/crowdin/pt-BR.yml
index 71622189a0f..0a3c5cba467 100644
--- a/modules/webhooks/config/locales/crowdin/pt-BR.yml
+++ b/modules/webhooks/config/locales/crowdin/pt-BR.yml
@@ -1,4 +1,4 @@
-pt:
+pt-BR:
plugin_openproject_webhooks:
name: "Webhooks do OpenProject"
description: "Fornece uma API de plug-in para dar suporte aos webhooks do OpenProject para uma melhor integração de terceiros."
diff --git a/modules/webhooks/config/locales/crowdin/pt-PT.yml b/modules/webhooks/config/locales/crowdin/pt-PT.yml
index 8bdf94e64dc..1496aff7e00 100644
--- a/modules/webhooks/config/locales/crowdin/pt-PT.yml
+++ b/modules/webhooks/config/locales/crowdin/pt-PT.yml
@@ -1,4 +1,4 @@
-pt:
+pt-PT:
plugin_openproject_webhooks:
name: "Webhooks do OpenProject"
description: "Fornece uma API de plug-in para suportar webhooks do OpenProject para uma melhor integração de terceiros."
diff --git a/modules/xls_export/config/locales/crowdin/pt-BR.yml b/modules/xls_export/config/locales/crowdin/pt-BR.yml
index c024d4d7edb..31bcd6d4053 100644
--- a/modules/xls_export/config/locales/crowdin/pt-BR.yml
+++ b/modules/xls_export/config/locales/crowdin/pt-BR.yml
@@ -1,4 +1,4 @@
-pt:
+pt-BR:
plugin_openproject_xls_export:
name: "Exportação XLS do OpenProject"
description: "Exportar listas de problemas como planilhas Excel (.xls)."
diff --git a/modules/xls_export/config/locales/crowdin/pt-PT.yml b/modules/xls_export/config/locales/crowdin/pt-PT.yml
index b2691b6ba10..440931f9de6 100644
--- a/modules/xls_export/config/locales/crowdin/pt-PT.yml
+++ b/modules/xls_export/config/locales/crowdin/pt-PT.yml
@@ -1,4 +1,4 @@
-pt:
+pt-PT:
plugin_openproject_xls_export:
name: "Exportação XLS do OpenProject"
description: "Exportar listas de problemas como folhas de cálculo do Excel (.xls)."
diff --git a/script/i18n/fix_crowdin_pt_language_root_key b/script/i18n/fix_crowdin_pt_language_root_key
new file mode 100755
index 00000000000..0237262f142
--- /dev/null
+++ b/script/i18n/fix_crowdin_pt_language_root_key
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+echo "Fixing language root key in pt-BR and pt-PT crowdin files to match the filename"
+if [ "$(uname -s)" = "Darwin" ]; then
+ sed -i '' 's/^pt:/pt-BR:/' config/locales/crowdin/*pt-BR*.yml modules/*/config/locales/crowdin/*pt-BR*.yml
+ sed -i '' 's/^pt:/pt-PT:/' config/locales/crowdin/*pt-PT*.yml modules/*/config/locales/crowdin/*pt-PT*.yml
+else
+ sed -i 's/^pt:/pt-BR:/' config/locales/crowdin/*pt-BR*.yml modules/*/config/locales/crowdin/*pt-BR*.yml
+ sed -i 's/^pt:/pt-PT:/' config/locales/crowdin/*pt-PT*.yml modules/*/config/locales/crowdin/*pt-PT*.yml
+fi