📄 Huge intl feature
This commit is contained in:
13
src/i18n/routing.ts
Normal file
13
src/i18n/routing.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import {defineRouting} from 'next-intl/routing';
|
||||
|
||||
export const routing = defineRouting({
|
||||
locales: ['en', 'ro'],
|
||||
defaultLocale: 'en',
|
||||
localePrefix: 'always',
|
||||
localeNames: {
|
||||
en: 'English',
|
||||
ro: 'Română'
|
||||
}
|
||||
} as any);
|
||||
|
||||
export type Locale = (typeof routing.locales)[number];
|
||||
Reference in New Issue
Block a user