import { defineRouting } from "next-intl/routing";

export const routing = defineRouting({
  locales: ["en", "fr"],
  defaultLocale: "en",
  localePrefix: "as-needed",
  pathnames: {
    "/": "/",
    "/about-us": { en: "/about-us", fr: "/a-propos" },
    "/production-process": { en: "/production-process", fr: "/production" },
    "/design-development": {
      en: "/design-development",
      fr: "/conception-developpement",
    },
    "/gallery": { en: "/gallery", fr: "/galerie" },
    "/news-events": { en: "/news-events", fr: "/actualites" },
    "/sustainability": { en: "/sustainability", fr: "/durabilite" },
    "/contact-us": { en: "/contact-us", fr: "/contact" },
    "/blog": { en: "/blog", fr: "/blog" },
    "/[category]": { en: "/[category]", fr: "/[category]" },
    "/[category]/[slug]": { en: "/[category]/[slug]", fr: "/[category]/[slug]" },
  },
});
