INNER CODE UNIT · TypeScript
createServerI18next
i18next/next-i18next · src/appRouter/server.ts:364
export function createServerI18next(userConfig: I18nConfig): ServerI18next {
const state = createState(userConfig)
return {
getT: (ns, options) => getTWith(state, ns, options),
getResources,
generateI18nStaticParams: () => staticParamsFor(state.config),
}
}