Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

docs(editor): Editor language section - zh-CN/en switch in Settings, EN+zh guides

yhhe03de0e00224
diff --git a/docs/astro/src/content/docs/guides/editor.mdx b/docs/astro/src/content/docs/guides/editor.mdx
index 87ad28039..8183d6717 100644
--- a/docs/astro/src/content/docs/guides/editor.mdx
+++ b/docs/astro/src/content/docs/guides/editor.mdx
@@ -219,8 +219,9 @@ the canvas to add a node at the cursor.
Open settings with **Ctrl / ⌘ + ,** or the Activity Bar's gear. Settings are grouped:
-- **Editor** — Appearance (accent color, UI scale), Viewport (grid, snapping, gizmos),
- **Keyboard Shortcuts** (every shortcut below is rebindable here), and Console.
+- **Editor** — Appearance (**language**, accent color, UI scale), Viewport (grid,
+ snapping, gizmos), **Keyboard Shortcuts** (every shortcut below is rebindable
+ here), and Console.
- **Project** (saved into `project.esproject`):
- **Physics** — enable, gravity, sixteen collision-layer names and a 16×16 collision
matrix, plus solver tuning (fixed timestep, sub-steps, contact Hz/damping/push
@@ -228,6 +229,13 @@ Open settings with **Ctrl / ⌘ + ,** or the Activity Bar's gear. Settings are g
- **Rendering** — named sorting layers that populate the inspector's layer dropdown.
- **Packaging** — per-platform settings for WeChat, Desktop, and Playable exports.
+### Editor language
+
+The editor ships in **English** and **简体中文** and follows your system language on
+first launch. Switch it under **Settings → Appearance → Language** — the change
+applies after a reload (the editor prompts for one). The editor's UI strings run on
+the same [localization engine](/docs/guides/localization/) your game uses at runtime.
+
## Keyboard shortcuts
`mod` is **⌘** on macOS and **Ctrl** elsewhere. All of these are rebindable under
diff --git a/docs/astro/src/content/docs/zh-cn/guides/editor.mdx b/docs/astro/src/content/docs/zh-cn/guides/editor.mdx
index ff705adb1..059655819 100644
--- a/docs/astro/src/content/docs/zh-cn/guides/editor.mdx
+++ b/docs/astro/src/content/docs/zh-cn/guides/editor.mdx
@@ -182,7 +182,7 @@ Details 是选中项的检视器。它列出实体上的每个组件及其字段
用 **Ctrl / ⌘ + ,** 或活动栏的齿轮打开设置。设置分组:
-- **编辑器** — 外观(强调色、UI 缩放)、视口(网格、吸附、gizmo)、**键盘快捷键**(下面每个快捷键
+- **编辑器** — 外观(**语言**、强调色、UI 缩放)、视口(网格、吸附、gizmo)、**键盘快捷键**(下面每个快捷键
都能在这里重绑)、控制台。
- **项目**(存进 `project.esproject`):
- **物理** — 启用、重力、十六个碰撞层名字和一个 16×16 碰撞矩阵,以及解算器调参(固定时间步、
@@ -190,6 +190,12 @@ Details 是选中项的检视器。它列出实体上的每个组件及其字段
- **渲染** — 命名排序层,填充检视器里的层下拉。
- **打包** — 微信、桌面、Playable 导出的每平台设置。
+### 编辑器语言
+
+编辑器内置 **English** 和 **简体中文**,首次启动跟随系统语言。在 **设置 → 外观 → 语言** 切换——
+更改在重新加载后生效(编辑器会弹出提示)。编辑器界面文案跑在与游戏运行时相同的
+[本地化引擎](/docs/zh-cn/guides/localization/)上。
+
## 键盘快捷键
`mod` 在 macOS 上是 **⌘**,其他平台是 **Ctrl**。以下全部可在设置 → 键盘快捷键里重绑。