useLocalization hook returns the locale, country, and language of the current page. It can be used within server or client components and it must be a descendent of a
Example codeAnchor link to section titled "Example code"
Return valueAnchor link to section titled "Return value"
This hook returns an object with the following properties:
||An object with the country's
||An object with the language's
||A locale string, which includes the