Skip to main content

useLanguage
hook

Returns the current language of the checkout, and automatically re-renders your component if the language changes.

Language

isoCode
string

The BCP-47 language tag. It may contain a dash followed by an ISO 3166-1 alpha-2 region code.

Was this section helpful?