import { defineRouting } from 'next-intl/routing';
import {pathnames} from '../../pathnames';
export type SupportedLocales = 'fr' | 'en';


export const routing = defineRouting({
    locales: ['fr', 'en'],
    localePrefix: 'as-needed',
    defaultLocale: 'fr',
    localeDetection: false,
    pathnames
});
export type Locale = (typeof routing.locales)[number];
