Add next-intl to internationalize our project
This commit is contained in:
9
i18n/routing.ts
Normal file
9
i18n/routing.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { defineRouting } from "next-intl/routing";
|
||||
|
||||
export const routing = defineRouting({
|
||||
// A list of all locales that are supported
|
||||
locales: ["en", "de", "ru"],
|
||||
|
||||
// Used when no locale matches
|
||||
defaultLocale: "en",
|
||||
});
|
||||
Reference in New Issue
Block a user