{"id":2547,"date":"2023-11-22T01:05:08","date_gmt":"2023-11-22T00:05:08","guid":{"rendered":"https:\/\/desairem.com\/wordpress\/?p=2547"},"modified":"2025-04-25T11:57:11","modified_gmt":"2025-04-25T10:57:11","slug":"localiji-user-friendly-labels-for-app-store-connect-api-types","status":"publish","type":"post","link":"https:\/\/desairem.com\/wordpress\/localiji-user-friendly-labels-for-app-store-connect-api-types\/","title":{"rendered":"User-friendly labels for App Store Connect API types"},"content":{"rendered":"\n<p>App Store Connect API defines some enum types which are displayed in Localiji with a user-friendly label. For example, the Screenshot type defines <code>APP_IPHONE_67<\/code>, <code>APP_IPAD_PRO_3GEN_129<\/code> and others. Since the API doesn&#8217;t define user-friendly labels, Localiji defines them manually, like &#8220;iPhone 6.7&#8243; Display&#8221; and &#8220;iPad Pro (3rd Gen) 12.9&#8243; Display&#8221;, similarly to how they appear on the App Store Connect website.<\/p>\n\n\n\n<p>When Apple adds new enum elements, such as when introducing new display sizes or device types, the current Localiji version uses the raw enum string by default until the user-friendly label is defined in a future Localiji update. If you notice a non-user-friendly label, you&#8217;re welcome to report it on the <a href=\"https:\/\/desairem.com\/wordpress\/localiji\/localiji-contact\/\" data-type=\"page\" data-id=\"2657\">Contact page<\/a>.<\/p>\n\n\n\n<p>The official types declared in the OpenAPI specification used by Localiji are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developer.apple.com\/documentation\/appstoreconnectapi\/platform\">Platform<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/developer.apple.com\/documentation\/appstoreconnectapi\/screenshotdisplaytype\">Screenshot type<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/developer.apple.com\/documentation\/appstoreconnectapi\/previewtype\">Preview type<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>App Store Connect API defines some enum types which are displayed in Localiji with a user-friendly label. For example, the Screenshot type defines APP_IPHONE_67, APP_IPAD_PRO_3GEN_129 and others. Since the API doesn&#8217;t define user-friendly labels, Localiji defines them manually, like &#8220;iPhone 6.7&#8243; Display&#8221; and &#8220;iPad Pro (3rd Gen) 12.9&#8243; Display&#8221;, similarly to how they appear on [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"wp-custom-template-localiji-help-post","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-2547","post","type-post","status-publish","format-standard","hentry","category-localiji-help"],"_links":{"self":[{"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/posts\/2547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/comments?post=2547"}],"version-history":[{"count":3,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/posts\/2547\/revisions"}],"predecessor-version":[{"id":2885,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/posts\/2547\/revisions\/2885"}],"wp:attachment":[{"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/media?parent=2547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}