Paywall builder localization

Learn how you can easily localize your paywall for different languages

Localizing is a tedious process that requires time and precision. When using Paywall Builder, Adapty does almost all of the work for you, as most of the things you'll need work out of the box. This page describes how it works.

How to use it

Suppose you've finished configuring your paywall in the default en localization and you like the result. Now, if you'd like to add another language, switch over to "Localizations" tab below the "Builder" title:

You'll see a table view that contains all the texts used in configuring a paywall. Press "Add locale", find the language you're after and add it.

Once added, the new locale will be pre-filled with values from the default:

📘

Pay attention to the locale code (en and es on the screenshot above). You'll need to pass it to the getViewConfiguration method of our SDK to get the correct localization.

You can learn more about it here.

Now you can fill in the translated values for the new locale. There are a few controls in this table that can make it easier (especially if you have many locales):

By pressing the three-dotted button in any default locale cell, you can either push its value to all locales (useful when you have the same text for different localizations that you'd like to change, such as the terms URL) or revert all row changes to their original values.

📘

Using tag variables

We strongly recommend using tag variables (such as <PROD_TITLE/>) to speed up your localization process and ensure that the text is always correct. Learn more about them here.

Previewing the result

You can check your texts while editing by simply switching over back to the Builder tab and selecting another locale: