The localization object has the following attributes:

Note: In VersaCommerce the lists are currently based on the current shop language and the shop's country.

localization.available_countries

Returns a list of country objects for each country the shop supports.

localization.available_languages

Returns a list of shop_locale objects for each language the currently selected country supports.

localization.country

Returns the country object of the currently selected country.

localization.language

Returns the shop_locale object of the currently selected language.