The shop_locale object

The shop_locale object has the following attributes:

shop_locale.endonym_name

Returns the locale endonym name. For example, "français canadien".

shop_locale.iso_code

Returns the locale code. For example, fr-CA.

shop_locale.name

Returns the locale name. For example, "Canadian French".

shop_locale.primary

Returns whether or not this is the shop's primary locale. See Shop#locale for details.

shop_locale.root_url

Returns the root relative URL of the locale.

Ready to start selling with Shopify?

Try it free