feat: add next-international translations (#2)
* feat: add next-international translations * chore: fix formatting * chore: address pull request feedback
This commit is contained in:
6
packages/translation/src/server.ts
Normal file
6
packages/translation/src/server.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { createI18nServer } from "next-international/server";
|
||||
|
||||
import { languageMapping } from "./lang";
|
||||
|
||||
export const { getI18n, getScopedI18n, getStaticParams } =
|
||||
createI18nServer(languageMapping());
|
||||
Reference in New Issue
Block a user