i18n
Akilocale wraps i18next, react-i18next, and i18next-http-backend, providing a consistent and pre-configured way to translate texts in both shell and client applications.
Overview
Shell Application i18n
import { i18n, useTranslation } from '@akinon/akilocale/react';
const ShellHeader = () => {
const { t } = useTranslation();
return (
<nav>
<a href="/dashboard">{t('dashboard')}</a>
<a href="/orders">{t('orders')}</a>
<a href="/products">{t('products')}</a>
</nav>
);
};Custom Configuration (Optional)
Sharing Language with Clients
Language Switching
Learn More
Last updated
Was this helpful?

