From b6d39ff487a1d9c7b43ac99f09aee5201ed8df08 Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Sat, 4 Jan 2025 10:22:33 +0100 Subject: [PATCH] fix: pt-BR and pt-PT in the Crowdin config to avoid rotating languages fix: pt-BR and pt-PT in the Crowdin config to avoid rotating languages Crowdin keeps changing languages, so mapping Portugal's Portuguese to pt, and pt-BR to pt_BR (which might be a bad idea, we might want to map to br otherwise Flutter will complain ?) --- crowdin.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/crowdin.yml b/crowdin.yml index dcee71c7e71d..eced3f9ee3ce 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -7,5 +7,13 @@ pull_request_labels: files: - source: /packages/smooth_app/lib/l10n/app_en.arb translation: /packages/smooth_app/lib/l10n/app_%two_letters_code%.arb + languages_mapping: + two_letters_code: + pt-BR: pt_BR + pt-PT: pt - source: /packages/smooth_app/ios/Runner/en.lproj/InfoPlist.strings translation: /packages/smooth_app/ios/Runner/%two_letters_code%.lproj/InfoPlist.strings + languages_mapping: + two_letters_code: + pt-BR: pt_BR + pt-PT: pt