made language in menu

This commit is contained in:
Alibek committed 2024-03-20 17:18:10 +06:00
1 parent 36896b1fad
commit 45650996c3
4 files changed
+104 -4

No files matched your search

+1 -1
View File
@@ -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 });