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:

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

Pin It on Pinterest