In order to load the correct wording at checkout, we load different language locales.
We add the locales automatically to every theme where our widget is enabled. Learn more about enabling the widget in our Online store 2.0 article.
By default, we load:
English (en) for shipping
English Australian (en-AU) for delivery
English Canadian (en-CA) for pickup
Exceptions are stores located in Australia and Canada. The locales we load at checkout for those stores are:
English (en) for shipping
English American (en-US) for delivery
English British (en-GB) for pickup
Requirements
For the correct locales to load in the checkout:
Correct locales need to be added to your theme
Prepopulate shipping address fields setting needs to be enabled in Zapiet - Pickup + Delivery > Settings > Store Pickup
Add locales to your theme
In case when the locales were not added automatically, you can add them manually.
In Online Store > Themes, find the theme you'd like to add the locales to.
Next to the theme name, click three dots and then Edit code.
Under Locales, click Add a new locale.
In the pop-up, under File name add en-CA and click Done.
When the locale is created, delete the contents that were added automatically.
Click the button below to download the file, and copy/paste the contents into your en-CA locale.
Click Save.
Under Locales, click Add a new locale.
In the pop-up, under File name add en-AU and click Done.
When the locale is created, delete the contents that were added automatically.
Click the button below to download the file, and copy/paste the contents into your en-AU locale.
Click Save.
You've now added the correct locales for pickup and delivery.
Enable the Prepopulate shipping address fields setting
Within Zapiet - Pickup + Delivery, open the Settings tab.
Click Store Pickup.
Find the Checkout section and make sure the Prepopulate shipping address fields setting is ticked.
The locales should now be loading correctly on your store.
Should they not be working as expected, please contact us at [email protected] and we'd be happy to take look.
Other languages
We only offer templates for the English language. If you would like to load different language locales, you would need to check if your language has multiple varieties in Shopify, and change/translate them manually.
If not, you can use one default language and change the wording in the checkout to something more neutral, like "Address", instead of the "Shipping address".
Troubleshooting
If the locales are not loading correctly, disable Prepopulate shipping address fields setting in Zapiet - Pickup + Delivery > Settings > Store Pickup, and enable it again.
Check if the checkout URL contains the correct locales (e.g. en-CA for pickup)
For any further questions regarding languages, please contact us at [email protected] and we'd be happy to help!
Files: