localization object
The language and the country of the store front.
Properties
| Name | Type | Description |
|---|---|---|
available_languages | array of store_locale object | The store language |
language | store_locale object | The store language |
available_countries | array of country object | The countries a visitor can see prices for |
country | country object | The country of the visitor, or nil |
When multicurrency is on, you get every country with a supported currency in available_countries, sorted by name. In country, you get the country of the visitor, found from the IP address. When no country is found, you get the store country. When multicurrency is off, you get only the store country in both properties.