mirror of
https://github.com/johndoe6345789/postgres.git
synced 2026-05-03 10:14:54 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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,
|
||||
};
|
||||
Reference in New Issue
Block a user