Skip to content

Commit d2f0286

Browse files
authored
fix: pt-BR and pt-PT in the Crowdin config to avoid rotating languages (#6121)
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 ?)
1 parent 3d5dad9 commit d2f0286

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

crowdin.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,13 @@ pull_request_labels:
77
files:
88
- source: /packages/smooth_app/lib/l10n/app_en.arb
99
translation: /packages/smooth_app/lib/l10n/app_%two_letters_code%.arb
10+
languages_mapping:
11+
two_letters_code:
12+
pt-BR: pt_BR
13+
pt-PT: pt
1014
- source: /packages/smooth_app/ios/Runner/en.lproj/InfoPlist.strings
1115
translation: /packages/smooth_app/ios/Runner/%two_letters_code%.lproj/InfoPlist.strings
16+
languages_mapping:
17+
two_letters_code:
18+
pt-BR: pt_BR
19+
pt-PT: pt

0 commit comments

Comments
 (0)