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

export const routing = defineRouting({
  locales: ['fr', 'en'],
  defaultLocale: 'fr',
  // Every URL is prefixed by the locale (/fr/..., /en/...) per user decision.
  localePrefix: 'always',
});

export type AppLocale = (typeof routing.locales)[number];
