Skip to main content
All CollectionsAdvanced
Changing the checkout wording depending on the delivery option
Changing the checkout wording depending on the delivery option

We use language locales to change the wording at checkout depending on the checkout method

Marija avatar
Written by Marija
Updated over 2 months ago

In order to load the correct wording at checkout depending on the delivery option, we load different language locales.

Due to a Shopify limitation, Zapiet can no longer automatically add or change language locales to your theme. You will need to add the language locales to your theme manually.


Requirements

For the correct locales to load in the checkout:

  • The Zapiet - Pickup + Delivery widget should be enabled on your theme.

  • Correct locales need to be added to your theme.

  • Prepopulate shipping address fields setting needs to be enabled in Settings > Store Pickup

  • Prepopulate delivery address fields setting needs to be enabled in Settings > Local delivery.


How does it work?

You need to add locales to the theme manually after you enable the widget on your theme. Learn more about enabling the widget in our Enabling the cart widget on your theme 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


Add locales to your theme

  1. Click Online Store, then Themes.

  2. Click ... then Edit code, next to the theme you want to edit.

  3. In Locales folder, click Add a new locale.

  4. Under File name add en-CA and click Done.

    • If your store is located in Australia or Canada, name this file en-GB.

  5. When the locale is created, delete the contents that were added automatically.

  6. Click the button below to download the file, and copy/paste the contents into your en-CA locale.

  7. Click Save.

  8. In Locales folder, click Add a new locale.

  9. Under File name add en-AU and click Done.

    • If your store is located in Australia or Canada, name this file en-US.

  10. When the locale is created, delete the contents that were added automatically.

  11. Click the button below to download the file, and copy/paste the contents into your en-AU locale.

  12. Click Save.

You've now added the correct locales for pickup and delivery.


One-page checkout

The locales should now be loading correctly on your store.

  • en-CA when pickup is selected

  • en-AU when delivery is selected

  • en when shipping is selected


Three-page checkout

The locales should now be loading correctly on your store.

  • en-CA when pickup is selected

  • en-AU when delivery is selected

  • en when shipping is selected


Other languages

If your store is in Spanish, French or German, please use our translated locales.

If your store is located in Mexico, Latin America, Canada or Switzerland, please contact us on chat or at [email protected] to set up language locales.

For Spanish, you can use:

  • Spanish (es) for shipping

  • Spanish Latin American (es-419) for delivery

  • Spanish Mexican (es-MX) for pickup

Click the selected template to download it, then follow the steps in Add locales to your theme section.

For French, you can use:

  • French (fr) for shipping

  • French Canadian (fr-CA) for delivery

  • French Swiss (fr-CH) for pickup

Click the selected template to download it, then follow the steps in Add locales to your theme section.

For German, you can use:

  • German (de) for shipping

  • German Swiss (de-AT) for delivery

  • German Austrian (de-CH) for pickup

The currency format for German Swiss (de-CH locale used for pickup) uses a dot for decimal separation (e.g., 72.50), whereas the currency format for Euros uses a comma (e.g., 72,50).

This is a Shopify limitation of the German locales. If you prefer to use a comma in the currency format and do not use all three checkout methods (pickup, delivery, and shipping), please contact us via chat for a workaround.

Click the selected template to download it, then follow the steps in Add locales to your theme section.


Troubleshooting

  • If the locales are not loading correctly, disable Prepopulate shipping address fields setting in Settings > Store Pickup and Settings > Local Delivery, and enable it again.

  • Test locales in the incognito mode to avoid caching issues.

  • Check if the checkout URL contains the correct locales (e.g. en-AU for delivery)

  • For any further questions regarding languages, please contact us on chat, and we'd be happy to help!


Files:

Attachment icon
Attachment icon
Attachment icon
Attachment icon
Attachment icon
Attachment icon
Attachment icon
Attachment icon
Did this answer your question?