End of Year Sale: 30% off your first year on annual plans. Use code AP5-30-OFF See plans

Let people choose a language (Language Settings block)

Build Your App · Документация AppPresser

Let people choose a language (Language Settings block)

Эта статья ещё не переведена, поэтому показана на английском.

Your app journey: step 4 of 9, Add pages and features. New here? Read Start here: build your app with AppPresser first.

What you'll do: Add a page where people choose the language of your app.

Before you start

  • Turn on the Translations feature for your app, with your translation files added:
    1. In the left menu, under Configuration, click Features.
    2. Turn on Translations.
    3. Upload a zip file of your translation files.
    4. Choose the fallback language, the language your app uses when no other one fits.
    5. Click Save Changes.

Add the block

This block has no settings.

  1. In the left menu, under Customization, click Custom Pages.
  2. Click the name of the page you want to change. To make a new page instead, click Add New Page, type a title, keep Page Builder selected and click Create Page.
  3. Below the last block on the page, click Add Block.
  4. In Search blocks…, type Language Settings, then click the block. It is added to the bottom of the page.
  5. Click Save Changes at the top of the editor.
  6. To see a new page in the App Preview, add it to a menu. See Add a page to your app menu.

The Language Settings (No options) block in the editor, above the App Camera block

What you see in the app

The block shows a list of the languages your app has. If no translation files are added yet, the block shows nothing.

Tips

Tips

  • To move a block, drag it by its handle (the dots on the left). Click the arrow to fold it closed.
  • To copy a block, click the Duplicate icon.
  • To turn a setting on or off, click the switch itself, not the words next to it.
  • After you save, open the page in the App Preview and check your changes.

Careful: The trash icon removes a block right away. Check before you click.

You're done when the block shows on your page in the App Preview.

Next step

Preview your app (App Preview)

Это было полезно?

Не нашли ответ?

Наша служба поддержки поможет с настройкой, сборками и вопросами о магазинах приложений.