feat: add Latvian (lv) locale support

This commit is contained in:
Linus Rath
2026-04-08 22:42:15 +02:00
parent 6499da6281
commit 6a725dde58
6 changed files with 48 additions and 62 deletions
+3
View File
@@ -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
View File
@@ -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'
});