Add paywall locale in remote config
In a world with many cultures, it's important to adapt your product for each country. You can do this by using paywall localizations. For each paywall, make versions in different languages —each one catering to a specific language—to match the needs of specific local markets.
If you've designed a paywall with the remote config, use the remote config as well to add localizations. Whether you're using a table view or JSON format, you can easily tweak settings for different languages. For example, you can translate String keys from English to Italian or set different Boolean values like TRUE for English and FALSE for Italian. You can even change background images based on the language. Basically, you keep the same setup but customize values for each language, making sure users get a personalized experience.
How to set up a localization for a paywall customized using remote config:
-
Open the Products and Paywalls section in the Adapty main menu and click the Paywall tab to open it and click the 3-dot button next to the product and select the Edit option.
-
In the Paywalls / Your paywall window, switch to the Remote config tab.
-
In the Remote config tab, click the Add locale button and select all languages you want to have in your app.
-
Click on the element you want to translate and enter a new value. You can both translate String and List values and replace pictures with those more appropriate for the locale.
Feel free to use the context menu of the English locale to fix localization issues:
-
Use the Push this value to all locales menu to overwrite any changes made in the row for non-English locales, replacing them with the values from the English locale.
-
Use the Revert all row changes to original values menu to cancel all changes made in the current session, reverting them to the last saved values.
Once you add locales to a paywall, learn to correctly work with locale codes in your app's code.