# i18n (/themes/sdk/reference/i18n)

```ts
import { … } from '@poltura/theme-sdk/i18n';
```

## [Hooks](/themes/sdk/reference/i18n/hooks) [#hooks]

| Name | What it is |
| --- | --- |
| [`useTranslations`](/themes/sdk/reference/i18n/hooks#usetranslations) | The platform's own texts, the strings the storefront ships for every theme. |
| [`useRichTranslations`](/themes/sdk/reference/i18n/hooks#userichtranslations) | Platform texts whose marked passages the theme draws, such as the terms and privacy links in the sign-up consent. |
| [`useLocale`](/themes/sdk/reference/i18n/hooks#uselocale) | The language the page renders in. |
| [`useNow`](/themes/sdk/reference/i18n/hooks#usenow) | The current time, the same on the server and in the browser for the first render. |
| [`useTimeZone`](/themes/sdk/reference/i18n/hooks#usetimezone) | The store's time zone, which every store date renders in. |
| [`useThemeText`](/themes/sdk/reference/i18n/hooks#usethemetext) | The theme's own texts in the page language, live while the merchant edits them. |
| [`useFormat`](/themes/sdk/reference/i18n/hooks#useformat) | The formatter for the page language and the store's time zone. |
| [`useLocales`](/themes/sdk/reference/i18n/hooks#uselocales) | The page language and the other languages the storefront offers, for a language switcher. |

## [Types](/themes/sdk/reference/i18n/types) [#types]

| Name | What it is |
| --- | --- |
| [`Locale`](/themes/sdk/reference/i18n/types#locale) | A language the store's storefront is available in. |
| [`NameOrder`](/themes/sdk/reference/i18n/types#nameorder) | The order a person's given and family names are written in. |
| [`TextValues`](/themes/sdk/reference/i18n/types#textvalues) | Values filled into the placeholders of a text. |
| [`Translator`](/themes/sdk/reference/i18n/types#translator) | One platform text by key, with its placeholders filled. |
| [`RichTextValues`](/themes/sdk/reference/i18n/types#richtextvalues) | Values for a text with marked passages: plain values fill placeholders, functions wrap the passage between `<name>` and `</name>`. |
| [`RichTranslator`](/themes/sdk/reference/i18n/types#richtranslator) | One platform text by key, its placeholders filled and its marked passages drawn by the given functions. |
| [`ThemeText`](/themes/sdk/reference/i18n/types#themetext) | One of the theme's own texts by dotted key, with placeholders and ICU plurals resolved. |
| [`MoneyFormatOptions`](/themes/sdk/reference/i18n/types#moneyformatoptions) | How [`Formatter`](/themes/sdk/reference/i18n/types#formatter) writes an amount of money. |
| [`Formatter`](/themes/sdk/reference/i18n/types#formatter) | Formats numbers, money, dates and lists in the page language and the store's time zone. |
| [`Locales`](/themes/sdk/reference/i18n/types#locales) | The page language and every language the storefront offers. |

<AnchorRedirect to={{"hooks":"/themes/sdk/reference/i18n/hooks","usetranslations":"/themes/sdk/reference/i18n/hooks","userichtranslations":"/themes/sdk/reference/i18n/hooks","uselocale":"/themes/sdk/reference/i18n/hooks","usenow":"/themes/sdk/reference/i18n/hooks","usetimezone":"/themes/sdk/reference/i18n/hooks","usethemetext":"/themes/sdk/reference/i18n/hooks","useformat":"/themes/sdk/reference/i18n/hooks","uselocales":"/themes/sdk/reference/i18n/hooks","types":"/themes/sdk/reference/i18n/types","locale":"/themes/sdk/reference/i18n/types","nameorder":"/themes/sdk/reference/i18n/types","textvalues":"/themes/sdk/reference/i18n/types","translator":"/themes/sdk/reference/i18n/types","richtextvalues":"/themes/sdk/reference/i18n/types","richtranslator":"/themes/sdk/reference/i18n/types","themetext":"/themes/sdk/reference/i18n/types","moneyformatoptions":"/themes/sdk/reference/i18n/types","formatter":"/themes/sdk/reference/i18n/types","locales":"/themes/sdk/reference/i18n/types"}} />
