yo-next-auth/locales/client.ts

11 lines
263 B
TypeScript

'use client'
import { createI18nClient } from 'next-international/client'
import { importLocales } from '@/config/locales'
export const {
useI18n,
useScopedI18n,
useChangeLocale,
useCurrentLocale,
I18nProviderClient,
} = createI18nClient(importLocales)