xcparse
xcparse copied to clipboard
[BUG]Some Language Codes do not match App Store Connect API
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.