project-nomad/admin/inertia/i18n/locales/zh.json
Claude a8f6fe353b feat(i18n): Add internationalization support with English and Chinese
- Add i18next, react-i18next, and i18next-browser-languagedetector
- Create i18n configuration with language detection
- Add English (en) and Chinese (zh) translation files
- Create LanguageSwitcher component for runtime language switching
- Integrate i18n initialization in app.tsx

Translation keys organized by section:
- common: Common UI elements
- home: Dashboard/home page
- menu: Navigation menu items
- maps: Maps feature
- chat: AI chat feature
- settings: Settings pages
- system: System settings
- apps: App management
- models: AI models
- easySetup: Setup wizard
- docs: Documentation
- about: About page
- errors: Error pages

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-04 10:24:25 +08:00

133 lines
3.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"common": {
"home": "首页",
"settings": "设置",
"docs": "文档",
"chat": "聊天",
"maps": "地图",
"search": "搜索",
"save": "保存",
"cancel": "取消",
"delete": "删除",
"edit": "编辑",
"install": "安装",
"uninstall": "卸载",
"start": "启动",
"stop": "停止",
"restart": "重启",
"loading": "加载中...",
"error": "错误",
"success": "成功",
"warning": "警告",
"info": "信息",
"confirm": "确认",
"yes": "是",
"no": "否",
"enabled": "已启用",
"disabled": "已禁用",
"unknown": "未知",
"back": "返回",
"next": "下一步",
"previous": "上一步",
"close": "关闭",
"submit": "提交",
"reset": "重置"
},
"home": {
"title": "控制中心",
"subtitle": "您的离线知识与教育中心",
"updateAvailable": "Project N.O.M.A.D. 有可用更新!",
"goToSettings": "前往设置",
"startHere": "从这里开始!",
"poweredBy": "技术支持"
},
"menu": {
"maps": "地图",
"easySetup": "快速设置",
"installApps": "安装应用",
"docs": "文档",
"settings": "设置"
},
"maps": {
"title": "离线地图",
"search": "搜索位置...",
"noResults": "未找到结果",
"loadingMap": "加载地图中...",
"offline": "离线地图 - 无需互联网"
},
"chat": {
"title": "AI 助手",
"placeholder": "问我任何问题...",
"thinking": "思考中...",
"noMessages": "开始与 AI 助手对话",
"uploadDocument": "上传文档",
"knowledgeBase": "知识库"
},
"settings": {
"title": "设置",
"system": "系统",
"apps": "应用",
"models": "模型",
"maps": "地图",
"benchmark": "基准测试",
"update": "更新",
"legal": "法律",
"support": "支持"
},
"system": {
"title": "系统设置",
"hostname": "主机名",
"version": "版本",
"uptime": "运行时间",
"storage": "存储",
"memory": "内存",
"cpu": "处理器",
"network": "网络",
"theme": "主题",
"language": "语言",
"darkMode": "深色模式",
"lightMode": "浅色模式"
},
"apps": {
"title": "安装应用",
"installed": "已安装",
"notInstalled": "未安装",
"installing": "安装中...",
"noApps": "没有可用的应用"
},
"models": {
"title": "AI 模型",
"download": "下载",
"downloading": "下载中...",
"downloaded": "已下载",
"delete": "删除模型",
"noModels": "没有已安装的模型"
},
"easySetup": {
"title": "快速设置",
"welcome": "欢迎使用 Project N.O.M.A.D.",
"getStarted": "让我们从基础设置开始。",
"next": "下一步",
"skip": "跳过",
"complete": "完成"
},
"docs": {
"title": "文档",
"searchDocs": "搜索文档...",
"noResults": "未找到文档"
},
"about": {
"title": "关于 Project N.O.M.A.D.",
"description": "Project N.O.M.A.D.(离线媒体、档案和数据节点)是一个离线优先的知识与教育服务器。",
"version": "版本",
"license": "许可证",
"github": "GitHub",
"website": "网站"
},
"errors": {
"notFound": "页面未找到",
"serverError": "服务器错误",
"goHome": "返回首页",
"tryAgain": "重试"
}
}