Skip to content

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

Description

@smykytyn

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions