mirror of
https://github.com/arthur-pbty/flint.git
synced 2026-08-01 20:29:03 +02:00
9 lines
227 B
TypeScript
9 lines
227 B
TypeScript
import { defineRouting } from "next-intl/routing";
|
|
|
|
export const routing = defineRouting({
|
|
locales: ["en", "fr"],
|
|
defaultLocale: "en",
|
|
localePrefix: "always",
|
|
});
|
|
|
|
export type AppLocale = (typeof routing.locales)[number]; |