Can the template support languages other than English? How to change text?
Yes, the template can now support languages other than English.
How it works
- When the customers visit the BYOB bundle page, the app will detect the active language of your store
- If the locale is supported, the corresponding language will be displayed
- Otherwise, the page always falls back to display English
How to change the text in another language:
1. For Liquid template users:
You can add language translations using the Translate & Adapt app.
- Visit the language editor via the BYOB settings => Change Text
- Hit the localize button in the language editor
- Visit the section and change the text
For more info, please refer to Add language translations using the Translate & Adapt app
- If the text is available for the secondary language, you still have to make a tiny change (like adding a space) to make the text effective. After that, hit the save button in the Translate & Adapt app.
2. For theme app extension users:
At this moment, Shopify doesn't support changing texts in the theme app extension. Shopify is trying to add the missing feature but there is no confirmed timeline yet. As a workaround, you can add a custom liquid section.
- Hit Change Design in BYOB. In the theme editor, add the new BYOB Custom Messages section before other app blocks
- Visit BYOB settings => Change text/template content. You'll able to change the text in the Shopify language editor
Supported languages:
- English
- Japanese
- Spanish
- Traditional Chinese
- French
- German
- Polish
You can change the translation in the Shopify Language Editor. Just visit BYOB => Settings => Change Text. You'll be redirected to the language editor in the Shopify admin.
The translation format:
- {quantity} is the variable we put in. Include {VARIABLE} in your translation
- the pipe | is for pluralization, the left side is a single unit, and the right side is for multiple units