mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-04 20:50:06 +00:00
## Summary Upgrade `@lobehub/i18n-cli` to v1.26.1 and fix corrupted locale files that caused 3D API nodes to break in non-English locales. ## Changes - **What**: Upgrade `@lobehub/i18n-cli` from `^1.25.1` to `^1.26.1` — v1.26.1 fixes numeric string keys (e.g. `"0"`, `"1"` in node outputs) being incorrectly serialized as JSON arrays instead of objects. Fix all 11 non-English locale `nodeDefs.json` files where this corruption already existed (23-35 entries per locale). - **Dependencies**: `@lobehub/i18n-cli` `^1.25.1` → `^1.26.1` ## Review Focus The locale file diffs are mechanical array→object conversions. The key change is in `pnpm-workspace.yaml` (version bump). After this fix, running `pnpm locale` will no longer re-corrupt numeric-keyed outputs. Affected nodes include: `Load3D`, `Preview3D`, `MeshyImageToModelNode`, `Hunyuan3Dv2Conditioning`, `SV3D_Conditioning`, `ConditioningStableAudio`, `GetImageSize`, and ~30 others across all non-English locales. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8977-fix-upgrade-lobehub-i18n-cli-to-fix-3D-API-nodes-i18n-30c6d73d365081b79f98e17e13652996) by [Unito](https://www.unito.io)
Internationalization (i18n)
Our project supports multiple languages using vue-i18n. This allows users around the world to use the application in their preferred language.
Supported Languages
- en (English)
- zh (中文)
- ru (Русский)
- ja (日本語)
- ko (한국어)
- fr (Français)
- es (Español)
- tr (Türkçe)
How to Add a New Language
Want to add a new language to ComfyUI? See our detailed Contributing Guide with step-by-step instructions and confirmed working process.
Quick Start
- Open an issue or reach out on Discord to request a new language
- Follow the technical process or ask for help
- Our CI will automatically generate translations using OpenAI
- Become a maintainer for your language
File Structure
Each language has 4 translation files in src/locales/[language-code]/:
main.json- Main UI textcommands.json- Command descriptionssettings.json- Settings panelnodeDefs.json- Node definitions