feat(i18n): setup next-intl core config and translation dictionaries
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import {defineRouting} from "next-intl/routing";
|
||||
import {createNavigation} from "next-intl/navigation";
|
||||
|
||||
export const routing = defineRouting({
|
||||
locales: ["tr", "en"],
|
||||
defaultLocale: "tr",
|
||||
});
|
||||
|
||||
export const {Link, redirect, usePathname, useRouter, getPathname} =
|
||||
createNavigation(routing);
|
||||
Reference in New Issue
Block a user