A shop_locale is an element of the shop.published_locales array. The shop_locale object has the following attributes:
shoplocale.endonymname
Returns the locale name in its own language, for example "français canadien".
shoplocale.isocode
Returns the locale code, for example fr-CA.
shop_locale.name
Returns the name of the locale, for example "Canadian French".
shop_locale.primary
Returns true if the locale is the shop's primary locale. Otherwise returns false.
shoplocale.rooturl
Returns the relative root URL of the locale.