How to code and test localized StoreKit product names and descriptions

A step by step guide on implementing and testing international product information for StoreKit In-App Purchases or Subscriptions.

Oscar de la Hera Gomez
Written by Oscar de la Hera Gomez
First published on 03/25/2023 at 13:36
Last Updated on 03/27/2023 at 15:23
Two flowers that represent StoreKit and XCode side by side. Beneath them sits the text “Code & Test International StoreKit Product Names & Descriptions.”

A step by step guide on implementing and testing international product information for StoreKit In-App Purchases or Subscriptions.

The guide was made using our Free iOS StoreKit 2 Open Source project which is recommended for developers or business folk wishing to learn about how In-App Purchases or Subscriptions work and the code behind them.

SubscribeFree Open-Source Apple StoreKit 2 Swift Project

The following walkthrough assumes that you have already setup StoreKit with a localized offering and developed a UI that allows an app to display products.

Please consult the guides below to learn how to setup StoreKit, create a StoreKit offering or design a UI that considers all StoreKit scenarios.

How to setup StoreKit in XcodeHow to create a StoreKit offering in XCode or App Store ConnectFree iOS e-commerce Figma design file

For guides on localizing In-App Purchases or Subscriptions, please consult the links below.

How to add localizations to local In-App Purchases or SubscriptionsHow to add localizations to In-App Purchases in App Store ConnectHow to add localizations to a subscription in App Store ConnectHow to add localizations to a Subscription Group in App Store Connect

Step One: Implement the localized strings

A screenshot of Xcode showing how to implement localized StoreKit product display names and descriptions.

When writing code for the product name and description, use the displayName and description StoreKit product properties.

If you are curious about what a Styleguide is, why we use it or how to implement one in Swift, please consult the articles below.

Styleguide: What is it and How to create oneHow to create a styleguide in XCode & Swift

Step Two: Change the Default Localization

A screenshot of Xcode highlighting the location of the Editor tab in the Xcode menu, the Default Localization menu option and the menu that appears where you can select a Localization.

Change the StoreKit default localization in XCode to the language that you wish to test.

How to change StoreKit Localization in XCode

Step Three: Verify

A screenshot of an iOS app showing the StoreKit localizations for Spanish (Spain).

Run the app and confirm that the product display names and descriptions appear as desired.

Looking to learn how to implement international StoreKit pricing ?

Please consult our guide below to learn how to code and test international StoreKit pricing.

How to code and test international StoreKit product prices

Looking to learn more about developing apps with StoreKit 2?

Read our comprehensive development guide linked below to learn about all the secrets behind developing In-App Purchases and Subscriptions with StoreKit 2.

Read Apple StoreKit 2 Development Guide

Any Questions?

We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.
SubscribeContact UsVisit our BlogView our ServicesView our Work

Partner with us

We would love to get to know you and see how we can help your organization with its goals and needs.
Let's Talk

Stay Informed

Get occasional updates about our company, research, and product launches.
Subscribe