Skip to content

Commit 51af12c

Browse files
committed
Add all locales supported by the iOS and Android apps
h/t to @crazytonyli for highlighting that the supported locales should be a combination of the locales supported in the iOS and Android apps #765 (comment)
1 parent 55c1118 commit 51af12c

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

fastlane/Fastfile

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,59 @@ PROJECT_NAME = 'wordpress-rs'
2424
GLOTPRESS_PROJECT_BASE_URL = 'https://translate.wordpress.com/projects/mobile/wordpress-rs'
2525

2626
# Supported locales mapping between GlotPress and project locale codes
27+
# This list combines locales supported in the iOS and Android apps
2728
SUPPORTED_LOCALES = [
2829
{ glotpress: 'ar', project: 'ar' },
30+
{ glotpress: 'az', project: 'az' },
31+
{ glotpress: 'bg', project: 'bg' },
32+
{ glotpress: 'cs', project: 'cs' },
33+
{ glotpress: 'cy', project: 'cy' },
34+
{ glotpress: 'da', project: 'da' },
2935
{ glotpress: 'de', project: 'de' },
36+
{ glotpress: 'el', project: 'el' },
37+
{ glotpress: 'en-au', project: 'en-AU' },
38+
{ glotpress: 'en-ca', project: 'en-CA' },
39+
{ glotpress: 'en-gb', project: 'en-GB' },
3040
{ glotpress: 'es', project: 'es' },
41+
{ glotpress: 'es-cl', project: 'es-CL' },
42+
{ glotpress: 'es-co', project: 'es-CO' },
43+
{ glotpress: 'es-mx', project: 'es-MX' },
44+
{ glotpress: 'es-ve', project: 'es-VE' },
45+
{ glotpress: 'eu', project: 'eu' },
3146
{ glotpress: 'fr', project: 'fr' },
47+
{ glotpress: 'fr-ca', project: 'fr-CA' },
48+
{ glotpress: 'gd', project: 'gd' },
49+
{ glotpress: 'gl', project: 'gl' },
3250
{ glotpress: 'he', project: 'he' },
51+
{ glotpress: 'hi', project: 'hi' },
52+
{ glotpress: 'hr', project: 'hr' },
53+
{ glotpress: 'hu', project: 'hu' },
3354
{ glotpress: 'id', project: 'id' },
55+
{ glotpress: 'is', project: 'is' },
3456
{ glotpress: 'it', project: 'it' },
3557
{ glotpress: 'ja', project: 'ja' },
58+
{ glotpress: 'kmr', project: 'kmr' },
3659
{ glotpress: 'ko', project: 'ko' },
60+
{ glotpress: 'lv', project: 'lv' },
61+
{ glotpress: 'mk', project: 'mk' },
62+
{ glotpress: 'ms', project: 'ms' },
63+
{ glotpress: 'nb', project: 'nb' },
3764
{ glotpress: 'nl', project: 'nl' },
65+
{ glotpress: 'pl', project: 'pl' },
66+
{ glotpress: 'pt', project: 'pt' },
3867
{ glotpress: 'pt-br', project: 'pt-BR' },
68+
{ glotpress: 'ro', project: 'ro' },
3969
{ glotpress: 'ru', project: 'ru' },
70+
{ glotpress: 'sk', project: 'sk' },
71+
{ glotpress: 'sq', project: 'sq' },
72+
{ glotpress: 'sr', project: 'sr' },
4073
{ glotpress: 'sv', project: 'sv' },
74+
{ glotpress: 'th', project: 'th' },
4175
{ glotpress: 'tr', project: 'tr-TR' },
76+
{ glotpress: 'uz', project: 'uz' },
77+
{ glotpress: 'vi', project: 'vi' },
4278
{ glotpress: 'zh-cn', project: 'zh-CN' },
79+
{ glotpress: 'zh-hk', project: 'zh-HK' },
4380
{ glotpress: 'zh-tw', project: 'zh-TW' }
4481
].freeze
4582

0 commit comments

Comments
 (0)