Localization hooks

This guide provides a list of the localization hooks offered in Hydrogen.


Localization can help merchants expand their business to a global audience by creating shopping experiences in local languages and currencies.


Hydrogen includes the following localization hooks:

Hook name Description
useAvailableCountries Returns an array of the available countries used for localization purposes.
useCountry Returns a tuple of the current localization country and a function for updating it.

On this page