forked from Transparency/kgroad-frontend2
made language in menu
This commit is contained in:
1 parent
36896b1fad
commit
45650996c3
4 files changed
+104
-4
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { createSharedPathnamesNavigation } from "next-intl/navigation";
|
||||
|
||||
export const locales = ["en", "ru", "kg"] as const;
|
||||
export const localePrefix = "always"; // Default
|
||||
export const localePrefix = "always";
|
||||
|
||||
export const { Link, redirect, usePathname, useRouter } =
|
||||
createSharedPathnamesNavigation({ locales, localePrefix });
|
||||
Reference in new issue
Block a user