diff --git a/locales/zh-cn.json b/locales/zh-cn.json
new file mode 100644
index 0000000..ef193b2
--- /dev/null
+++ b/locales/zh-cn.json
@@ -0,0 +1,854 @@
+{
+ "revision": {
+ "revision": "修订记录",
+ "download": "下载",
+ "revert": "还原"
+ },
+ "common": {
+ "or": "或",
+ "cancel": "取消",
+ "ok": "好的",
+ "got-it": "知道了",
+ "period": "."
+ },
+ "help": {
+ "title": "帮助",
+ "contact": {
+ "title": "联络",
+ "messenger": "与我们沟通",
+ "github": "报告问题",
+ "email": "邮件联络我们",
+ "donate": "请我们喝杯咖啡"
+ },
+ "documents": "文档",
+ "features": "功能特性",
+ "yaml-meta": "YAML 元数据",
+ "slide": "幻灯片示例",
+ "book": "书籍示例",
+ "cheatsheet": "速查表",
+ "example": "示例",
+ "syntax": {
+ "h1": "标题",
+ "ul": "无序列表",
+ "ol": "有序列表",
+ "todo": "待办任务",
+ "blockquote": "引用",
+ "b": "粗体",
+ "i": "斜体",
+ "strike": "删除线",
+ "ins": "插入文本",
+ "mark": "标记文本",
+ "anchor": "链接",
+ "img": "图片",
+ "code": "代码",
+ "embeded": "外部",
+ "alert": "这是一个警告区块。"
+ }
+ },
+ "signup": {
+ "signup": "注册",
+ "new": "首次来到 HackMD? ",
+ "eeSite": {
+ "terms": {
+ "1": "继续登录,代表你同意 ",
+ "2": "服务条款。"
+ }
+ }
+ },
+ "signin": {
+ "signin": "登录",
+ "signin-ldap" : "登录到 {{name}} (LDAP)",
+ "signin-via-email": "使用邮件登录",
+ "choose": "选择方式",
+ "via": "通过 {{text}} 登录",
+ "email-or-username": "邮件 或 用户名",
+ "email-or-username-placeholder": "你的邮件地址 或 用户名",
+ "email": "邮件",
+ "email-placeholder": "你的邮件",
+ "password": "密码",
+ "password-placeholder": "你的密码"
+ },
+ "refresh": {
+ "title": "本页面需要刷新",
+ "incompatible": {
+ "title": "你的客户端版本不兼容。",
+ "content": "刷新来更新。"
+ },
+ "upgrade": {
+ "title": "有新版本!",
+ "note": "在这里查看版本发布说明",
+ "content": "刷新来体验新功能。"
+ },
+ "auth": {
+ "title": "你的用户状态已经改变。",
+ "content": "刷新以加载新的用户状态。"
+ },
+ "donate": "捐赠我们一杯咖啡",
+ "refresh": "刷新"
+ },
+ "infobar": {
+ "owned": "拥有这篇笔记",
+ "created": "创建于",
+ "changed": "变更于",
+ "notification" : {
+ "watch": "订阅 - 有任何变更都会收到通知",
+ "never": "不订阅 - 不会收到通知"
+ }
+ },
+ "clipboard": {
+ "title": "从剪贴板导入",
+ "content": "粘贴你的 markdown 或网页到这里 ... ",
+ "clear": "清空",
+ "import": "导入"
+ },
+ "locked": {
+ "title": "此笔记已加锁",
+ "content": "抱歉,只有该笔记的拥有者才可以编辑。"
+ },
+ "limit": {
+ "title": "到达限制",
+ "content1": "对不起,当前笔记已达到最大长度。",
+ "content2": "请减少内容,或拆分为多个笔记,谢谢!"
+ },
+ "gist-import": {
+ "title": "从 Gist 导入",
+ "content": "粘贴你的 gist url 到这里...",
+ "clear": "清空",
+ "import": "导入"
+ },
+ "snippet-import": {
+ "title": "从 Snippet 导入",
+ "project": {
+ "placeholder": "从可用的 Project 选择"
+ },
+ "snippet": {
+ "placeholder": "从可用到 Snippet 选择"
+ },
+ "body": {
+ "project": "Project:",
+ "Snippet": "Snippet:"
+ },
+ "clear": "清空",
+ "import": "导入",
+ "error": {
+ "fetch-error": "不能获取 Gitlab 参数 :(",
+ "not-valid-url-error": "非法的 Snippet URL :("
+ }
+ },
+ "snippet-export": {
+ "title": "导出到 Snippet",
+ "project": {
+ "title": "Project:",
+ "placeholder": "从可用的 Project 选择"
+ },
+ "visibility": {
+ "title": "可见性:",
+ "placeholder": "选择可见级别",
+ "private": "私有",
+ "internal": "内部"
+ },
+ "body": {
+ "title": "标题:",
+ "filename": "文件名:"
+ },
+ "export": "导出",
+ "success": "导出成功!",
+ "view-here": "在此查看 Snippet"
+ },
+ "google-drive": {
+ "import": {
+ "title": "从 Google Drive 导入",
+ "failed": "导入失败 :("
+ },
+ "export": {
+ "title": "导出到 Google Drive",
+ "success": "导出完成!",
+ "view-here": "点击此处查看你的文件",
+ "error": "导出发生错误 :("
+ }
+ },
+ "gist": {
+ "import": {
+ "title": "从 Gist 导入",
+ "fetch-error": "不能获取 gist 文件 :(",
+ "not-valid-gist-url-error": "非法的 Gist URL :("
+ }
+ },
+ "import": {
+ "import-from-url": "从 URL 导入",
+ "not-valid-url-error": "非法的 URL :(",
+ "import-failed": "导入失败 :("
+ },
+ "delete": {
+ "title": "确定吗?",
+ "yes": "是的,确定!",
+ "body-member": "你真的要删除该成员吗?",
+ "body": {
+ "msg": "你真的要删除该笔记吗?",
+ "item": "所有用户将丢失他们的连接。"
+ }
+ },
+ "transfer": {
+ "title": "转移所有人",
+ "team-label": "转移到你已加入的团队",
+ "team-member-label": "转移到当前团队成员",
+ "transfer": "转移"
+ },
+ "pull-changes": {
+ "title": "从 GitHub 拉去更新",
+ "apply": "应用所有差异"
+ },
+ "push-changes": {
+ "title": "推送变更到 GitHub",
+ "body": "确认要推送变更到 GitHub 吗?",
+ "push": "推送"
+ },
+ "header": {
+ "extra": {
+ "title": "扩展",
+ "slide": "幻灯片模式",
+ "book": "书本模式"
+ },
+ "revision": "修订记录",
+ "export": {
+ "title": "导出",
+ "dropbox": "Dropbox",
+ "google-drive": "Google Drive",
+ "gist": "Gist",
+ "snippet": "Snippet"
+ },
+ "import": {
+ "title": "导入",
+ "dropbox": "Dropbox",
+ "google-drive": "Google Drive",
+ "gist": "Gist",
+ "snippet": "Snippet",
+ "clipboard": "Clipboard"
+ },
+ "download": {
+ "title": "下载",
+ "markdown": "Markdown",
+ "html": "HTML",
+ "raw-html": "原生 HTML",
+ "odf": "ODF (Beta)",
+ "pdf": "PDF (Beta)"
+ },
+ "modes": {
+ "edit": "编辑",
+ "both": "全部",
+ "view": "查看"
+ },
+ "help": "帮助",
+ "image-upload": "上传图片",
+ "menu": "菜单",
+ "enterprise-demo": "企业版 Demo",
+ "new-note": "新笔记",
+ "new-team-note": "新团队笔记",
+ "team-manage": "管理团队",
+ "profile": "资料",
+ "feature": "功能",
+ "dashboard": "面板",
+ "settings": "设置",
+ "logout": "退出",
+ "sign-in": "登录",
+ "team": "团队",
+ "overview": "概览",
+ "intro": "介绍",
+ "recent": "最近",
+ "manage": "管理",
+ "new": "新建",
+ "publish": "发布",
+ "getting-started": "开始",
+ "getting-started-with-hackmd": "开始使用 HackMD",
+ "getting-started-tips": "学习如何创建、分享和管理你的笔记。",
+ "signout": "退出",
+ "permission": "权限",
+ "note": {
+ "title": "笔记权限",
+ "read": "可读",
+ "write": "可写",
+ "owner": "所有者",
+ "signedin": "已登入",
+ "guest": "游客",
+ "public": "公开",
+ "help": "笔记所有者可决定哪些人有可读或可写权限。"
+ },
+ "comments": {
+ "title": "评论",
+ "enable": "开启",
+ "disable": "禁用",
+ "read": "可读",
+ "write": "可评论",
+ "owner": "所有者",
+ "signedin": "已登入",
+ "guest": "游客",
+ "help": "笔记所有者可决定哪些人有可读或评论权限。"
+ },
+ "invitee": {
+ "title": "受邀者",
+ "invite": "邀请",
+ "read": "可读",
+ "write": "可写",
+ "admin": "管理员",
+ "help": "管理员可邀请用户和修改笔记权限。",
+ "search-user-placeholder": "通过 email 搜索用户 ..."
+ },
+ "options": "选项",
+ "share": "分享",
+ "transfer-ownership": "转移笔记所有权",
+ "delete-note": "删除此笔记",
+ "back": "返回",
+ "shelf": "书架",
+ "github": {
+ "pull": "拉取变更",
+ "push": "推送变更"
+ },
+ "notification": {
+ "watch": {
+ "label": "关注",
+ "title": "有任何变更都会收到通知"
+ },
+ "never": {
+ "label": "从不",
+ "title": "不会有任何通知"
+ },
+ "no-email": "在设置菜单设置邮箱 以便接收邮件通知!"
+ },
+ "lost-content": "如果现在离开,可能会丢失内容,你确定离开吗?",
+ "status-type": {
+ "connected": "已连接",
+ "online": "在线",
+ "offline": "离线"
+ }
+ },
+ "footer": {
+ "product": "产品",
+ "enterprise": "企业",
+ "templates": "模板",
+ "open-source": "开源",
+ "resources": "资源",
+ "features": "特性",
+ "tutorial": "教程",
+ "faq": "FAQ",
+ "information": "信息",
+ "about": "关于",
+ "blog": "博客",
+ "company": "公司",
+ "privacy": "隐私",
+ "tos": "用户条款",
+ "releases": "发布",
+ "about-ee": "关于 {{name}}",
+ "about-hackmd": "关于 HackMD",
+ "coffee": "为我们买杯咖啡",
+ "terms": "条款",
+ "donate": "为我们买杯咖啡"
+ },
+ "error": {
+ "home": "首页",
+ "back": "你可以返回首页。",
+ "signin": "登入货返回首页。",
+ "try": "稍后重试或返回首页。",
+ "400": {
+ "title": "400 Bad Request",
+ "content": "你的浏览器发起了一个不合法的请求。"
+ },
+ "403": {
+ "title": "403 Forbidden",
+ "content": "你没有权限访问该资源。"
+ },
+ "404": {
+ "title": "404 Not Found",
+ "content": "找不到你访问的页面。"
+ },
+ "500": {
+ "title": "500 Interal Error",
+ "content": "我们在处理你的请求时发生了内部错误。"
+ }
+ },
+ "home": {
+ "enterprise": "企业",
+ "slogan": "基于开放式协作建立社区。",
+ "use-free": "免费使用",
+ "btn-between-or": "或",
+ "btn-sign-in": "登入",
+ "how-to-use": "如何使用?",
+ "concept": {
+ "title": "概念",
+ "subtitle": "向你的社区分享所有文档、知识、信息。",
+ "note": "创建一个笔记",
+ "collaborate": "开放式协作",
+ "share": "分享并跟踪"
+ },
+ "btn-try": "现在尝试",
+ "empowering": {
+ "1": "大规模实时协作",
+ "2": "将白皮书和API转换为实时文档。",
+ "3": "为每一个开源项目创建专用团队空间。",
+ "title": "赋能社区"
+ },
+ "be-in-know": {
+ "1": "集中所有社区讨论到一处。",
+ "2": "当单一的源信息发生变更时获得通知。",
+ "3": "搜索或回滚到任何一个历史版本。",
+ "title": "确保知情"
+ },
+ "feature": {
+ "title": "特性"
+ },
+ "features": {
+ "markdown": {
+ "subtitle": "支持写作原生 markdown",
+ "title": "Markdown"
+ },
+ "slide": {
+ "subtitle": "轻松制作幻灯片,分钟级就可以上台开始",
+ "title": "幻灯片模式"
+ },
+ "book-mode": {
+ "subtitle": "组合多篇笔记成书,随点随看",
+ "title": "书本图书"
+ },
+ "hackmd-it": {
+ "subtitle": "GitHub / GitLab 集成,即时访问",
+ "title": "HackMD 之"
+ },
+ "diagram": {
+ "subtitle": "使用文本创建数据公式和UML图",
+ "title": "MathJax & UML"
+ },
+ "image": {
+ "subtitle": "拖拽图片,自动上传",
+ "title": "上传图片"
+ },
+ "export": {
+ "subtitle": "导出为 PDF、md 或 html 文件",
+ "title": "随身携带"
+ },
+ "tags": {
+ "subtitle": "使用标签管理和搜索笔记",
+ "title": "使用标签管理"
+ }
+ },
+ "trustedBy": "信任者",
+ "plans": {
+ "title": "计划",
+ "free": {
+ "1": "无限笔记",
+ "2": "无限协作者",
+ "3": "邮件通知",
+ "4": "免登录使用",
+ "title": "免费版",
+ "subtitle": "现在打开协作。",
+ "start": "开始使用"
+ },
+ "business": {
+ "1": "单点登录 或 SAML 登录支持",
+ "2": "基于角色的访问控制",
+ "3": "无限团队空间",
+ "4": "私有图片存储",
+ "ribbon": "Hot",
+ "title": "商业版",
+ "subtitle": "根据你的使用情况定制访问控制。",
+ "btn-more": "更多特性",
+ "btn-contact": "我有兴趣"
+ },
+ "conf": {
+ "1": "通过自定义 URL 来分享笔记",
+ "2": "针对会议主办方的团队空间",
+ "3": "最佳实践培训和分享",
+ "4": "更多针对你的自定义选项",
+ "ribbon": "Free",
+ "title": "会议版",
+ "subtitle": "我们得愿景是帮助您分享知识。",
+ "contact": "咨询我们任何问题"
+ }
+ },
+ "active-users": "加入到 160,000+ 活跃用户中! 快来爱上它"
+ },
+ "profile": {
+ "member-since": "成员加入于 {{date}}",
+ "no-notes": "你还没有笔记!",
+ "no-result": "无结果。",
+ "end-of-notes": "我是有底线的!这是笔记的最底部了。",
+ "search": {
+ "placeholder": "搜索笔记..."
+ },
+ "created": "已创建",
+ "found-notes": "找到 {{count}} 个笔记。",
+ "edit": "编辑该笔记",
+ "publish": "发布",
+ "slide-mode": "演示模式",
+ "book-mode": "书籍模式",
+ "permission": {
+ "freely": "任何人可编辑",
+ "editable": "已登入用户可编辑",
+ "limited": "已登入用户可编辑 (游客禁止)",
+ "locked": "仅所有者可编辑",
+ "protected": "仅所有者可编辑 (游客禁止)",
+ "private": "仅所有者可查看和编辑"
+ }
+ },
+ "overview": {
+ "search": {
+ "placeholder": "搜索关键词或标签..."
+ },
+ "filter": {
+ "title": "过滤器",
+ "all": "所有",
+ "shared-with-me": "与我共享",
+ "my-notes": "我的笔记"
+ },
+ "unvisited" : "未访问",
+ "changed": " 变更于 ",
+ "category": {
+ "categories": "分类",
+ "description": {
+ "title": "我们选择每篇笔记的第一个标签作为其分类。
点击图标了解更多。"
+ }
+ },
+ "show-with-categories": "展示分类",
+ "default-section": "无标签",
+ "unselect-all": "全不选",
+ "select-all": "全选",
+ "sorted": {
+ "multiple-sorting": "多重排序",
+ "categories-sorted-by": "类别排序",
+ "notes-sorted-by": "笔记排序",
+ "new_to_old": "新到旧",
+ "old_to_new": "旧到新",
+ "a_to_z": "A 到 Z",
+ "z_to_a": "Z 到 A"
+ },
+ "no-notes-with-current-filters": "未找到任何符合的笔记",
+ "no-notes": "没有任何笔记",
+ "grid-layout": "宫格布局",
+ "row-layout": "列表布局"
+ },
+ "site": {
+ "meta": {
+ "description": "使用 Markdown 记录并分享知识的最佳方式。",
+ "og": {
+ "title-suffix": "Markdown 协作笔记",
+ "description": "使用 Markdown 记录并分享知识的最佳方式。"
+ },
+ "tw": {
+ "title-suffix": "Markdown 协作笔记",
+ "description": "使用 Markdown 记录并分享知识的最佳方式。"
+ }
+ },
+ "title-suffix": "Markdown 协作笔记",
+ "untitled": "无标题",
+ "overview": "概览",
+ "recent": "最近",
+ "shelf": "书架",
+ "getting-started": "开始使用",
+ "manage": "团队管理",
+ "about-us": "关于我们",
+ "settings": "设置",
+ "docflow-setup": "HackDF 设置",
+ "docflow-import": "HackDF 导入",
+ "signup": "注册",
+ "login": "登入",
+ "verify_email": "邮件验证完成",
+ "finish-join": "继续完成注册"
+ },
+ "recent": {
+ "from-browser": "以下是浏览器历史",
+ "search": {
+ "tags": {
+ "placeholder": "选择标签 ..."
+ },
+ "keyword": {
+ "placeholder": "搜索关键词 ..."
+ }
+ },
+ "sort": {
+ "title": "按标题排序",
+ "time": "按时间排序"
+ },
+ "title": "标题",
+ "time": "时间",
+ "export": "导出记录",
+ "import": "导入记录",
+ "clear": "清空记录",
+ "refresh": "刷新记录",
+ "empty": "没有记录",
+ "import-browser": "从浏览器导入",
+ "visited": "访问于",
+ "delete-all-history": "你确定要清空所有历史记录吗?",
+ "delete-below-history": "你确定要删除所有历史记录吗?",
+ "can-not-restore": "不可回退。"
+ },
+ "docflow": {
+ "survey": "与此同时,请告诉我们你对 HackMD 的看法: 参与调研。",
+ "step1": {
+ "1": "登录到 HackMD",
+ "2": "授权 HackDF 访问 GitHub webhooks",
+ "3": "选择使用 HackDF 的仓库",
+ "title": "安装 GitHub App",
+ "step1": "步骤 1. ",
+ "signin-to-manage-document": "登入并管理文档",
+ "step2": "步骤 2. ",
+ "linking-finished": "已授权",
+ "连接": "授权",
+ "step3": "步骤 3. ",
+ "modify": "更改",
+ "start-installation": "选择仓库",
+ "installed-repo": "已授权仓库列表",
+ "refresh": "刷新列表"
+ },
+ "step2": {
+ "p1": "接下來 HackDF 就会在每次代码推送到 main 时,检查变更的文件,并提醒你有哪些文件该做修改。",
+ "default-document": "默认文档检查规则",
+ "p2": "
默认情况下,如您在以下目录更改任何笔记:
src
lib
test
会触发以下文件的提醒
README.md
docs
目录下所有的 Markdown 文档.hackdf/config.yml
。