feat: 站点的语言切换选项添加西班牙语与俄语选项
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m18s

- WIP: i18n文本尚未完善
This commit is contained in:
2025-11-20 15:35:20 +08:00
parent 54389b32ac
commit fc6c922ac3
5 changed files with 260 additions and 0 deletions

View File

@ -122,6 +122,8 @@ export default defineNuxtConfig({
locales: [
{ code: 'en', language: 'en-US', name: 'English', file: 'en.json' },
{ code: 'zh', language: 'zh-CN', name: '简体中文', file: 'zh.json' },
{ code: 'es', language: 'es-ES', name: 'Español', file: 'es.json' },
{ code: 'ru', language: 'ru-RU', name: 'Русский', file: 'ru.json' },
],
defaultLocale: 'zh',
strategy: 'prefix_except_default',