mirror of
https://github.com/johndoe6345789/postgres.git
synced 2026-04-24 13:55:00 +00:00
24 lines
593 B
TypeScript
24 lines
593 B
TypeScript
import type { LocalizationResource } from '@clerk/types';
|
|
import type { LocalePrefixMode } from 'next-intl/routing';
|
|
import { enUS, frFR } from '@clerk/localizations';
|
|
|
|
const localePrefix: LocalePrefixMode = 'as-needed';
|
|
|
|
// FIXME: Update this configuration file based on your project information
|
|
export const AppConfig = {
|
|
name: 'Nextjs Starter',
|
|
locales: ['en', 'fr'],
|
|
defaultLocale: 'en',
|
|
localePrefix,
|
|
};
|
|
|
|
const supportedLocales: Record<string, LocalizationResource> = {
|
|
en: enUS,
|
|
fr: frFR,
|
|
};
|
|
|
|
export const ClerkLocalizations = {
|
|
defaultLocale: enUS,
|
|
supportedLocales,
|
|
};
|