How do I translate the english text displayed by the app?

When our app needs to display text, it will use the values from the bcpoStrings JavaScript object.

You can change the default values by adding this code to your theme.liquid file between the <head> and </head> tags and replacing the text between the single quotes:

<script>
var bcpoStrings = {
choose_one: 'Choose one',
please_select: 'Please select',
and: 'and',
or: 'or',
sold_out: 'sold out',
unavailable: 'unavailable'
};
</script>
Was this article helpful?
Dislike 0

Pin It on Pinterest