feat: add Latvian (lv) locale support
This commit is contained in:
@@ -29,6 +29,9 @@ export default getRequestConfig(async ({ requestLocale }) => {
|
||||
case 'ko':
|
||||
messages = (await import('../locales/ko/common.json')).default;
|
||||
break;
|
||||
case 'lv':
|
||||
messages = (await import('../locales/lv/common.json')).default;
|
||||
break;
|
||||
case 'nl':
|
||||
messages = (await import('../locales/nl/common.json')).default;
|
||||
break;
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
import { defineRouting } from 'next-intl/routing';
|
||||
|
||||
export const routing = defineRouting({
|
||||
locales: ['en', 'fr', 'de', 'es', 'it', 'ja', 'ko', 'nl', 'pl', 'pt', 'ru', 'zh'],
|
||||
locales: ['en', 'fr', 'de', 'es', 'it', 'ja', 'ko', 'lv', 'nl', 'pl', 'pt', 'ru', 'zh'],
|
||||
defaultLocale: 'en',
|
||||
localePrefix: 'never'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user