Skip to content

[BUG]Some Language Codes do not match App Store Connect API #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
smykytyn opened this issue Feb 25, 2025 · 0 comments
Open

[BUG]Some Language Codes do not match App Store Connect API #89

smykytyn opened this issue Feb 25, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@smykytyn
Copy link

smykytyn commented Feb 25, 2025

xcparse can output screenshots into folders by language / region. Unfortunately it does not always match what is expected by Apple's App Store Connect API. Here's the list:

xcparse          Apple
------------  -------
ar	(SA)	ar-SA
de	(DE)	de-DE
en	(CA)	en-CA
en	(US) 	 en-US
es	(ES) 	 es-ES
es-419  (MX)	es-MX
fr	(FR)	        fr-FR
nb	(NO)	no
nl	(NL)	nl-NL

The xcparse list shows the locale code and the region code.

The Apple codes are taken directly from the output of App Store Connect API.

I can catch this with correction logic, but it would be much easier if xcparse just did the right thing.

The other 30 languages supported by App Store Connect API all match exactly, e.g. "en-GB", "pl", "zh-Hant", etc.

@smykytyn smykytyn added the bug Something isn't working label Feb 25, 2025
@smykytyn smykytyn changed the title [BUG]Some Language Code do not match App Store Connect API [BUG]Some Language Codes do not match App Store Connect API Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant