React and SSR
Create a translator for each request and pass it through I18nProvider. This keeps locale state isolated during concurrent server renders.
Use useTranslation() in components. Outside React, call i18n.t('message.key', { name: 'Ada' }) or the exported t(i18n, key, values) helper. For browser hydration, initialize the client with the same locale and catalog snapshot used for server output.