# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [v1.0.0] - 2026-01-26 ### Added - 实现前端国际化基础架构,包括: - 引入 vue-i18n@9 核心库,支持 Vue 3 Composition API - 建立标准化的资源目录结构(src/locales/) - 创建中文和英文翻译文件(zh-CN.ts、en-US.ts) - 封装通用的语言切换组件(LangSelect) - 配置网络拦截器自动注入 Accept-Language 请求头 - 集成 Element Plus 的国际化支持(ElConfigProvider) ### Changed - `src/store/modules/app.ts` - 新增 language 状态字段和 setLanguage action - `src/layout/components/Navbar/index.vue` - 集成 LangSelect 组件到导航栏 - `src/utils/request.ts` - 在请求拦截器中注入 Accept-Language 请求头 - `src/App.vue` - 集成 ElConfigProvider 组件,支持 Element Plus 国际化 - `src/main.ts` - 注册 i18n 插件 ### Dependencies - 新增 vue-i18n@9