* feat: add user groups * wip: add unit tests * wip: add more tests and normalized name for creation and update * test: add unit tests for group router * fix: type issues, missing mysql schema, rename column creator_id to owner_id * fix: lint and format issues * fix: deepsource issues * fix: forgot to add log message * fix: build not working * chore: address pull request feedback * feat: add mysql migration and fix merge conflicts * fix: format issue and test issue
12 lines
290 B
TypeScript
12 lines
290 B
TypeScript
import { createI18nServer } from "next-international/server";
|
|
|
|
import { languageMapping } from "./lang";
|
|
import enTranslation from "./lang/en";
|
|
|
|
export const { getI18n, getScopedI18n, getStaticParams } = createI18nServer(
|
|
languageMapping(),
|
|
{
|
|
fallbackLocale: enTranslation,
|
|
},
|
|
);
|