URL language parameter in checkout_countries does not always work.

Edvard_Ananyan
Shopify Partner
11 0 2

Hi,

 

I have noticed that there is a language parameter in the checkout_countries script which is being loaded on the checkout page, like this one: https://cdn.shopify.com/app/services/2497675309/javascripts/checkout_countries/34562146349/fr/countr...

 

window.CountriesDefaultInfo = {"labels":{"province":"Région","zip":"Code postal"},...

 

It seems that the labels do not always change depending on the language parameter in the URL. For example when you go to the Russian version /ru/: https://cdn.shopify.com/app/services/2497675309/javascripts/checkout_countries/34562146349/ru/countr...

 

you can still see labels not translated:

 

window.CountriesDefaultInfo = {"labels":{"province":"Region","zip":"Postal code"},...

 

How this can be controlled? Is this a bug?

 

I have noticed that depending on the store, the behavior changes, sometimes labels are translated, sometimes not.

 

Thanks!

0 Likes