Skip to content

[Feature Request] i18n / Chinese localization support for HyperFrames Studio #1766

Description

@w3038177197

Problem

HyperFrames Studio 的界面目前仅支持英文。对于非英语用户(尤其是中文用户),界面上的按钮、标签、提示信息等全部为英文,使用门槛较高。

Proposed Solution

为 HyperFrames Studio 增加国际化(i18n)支持,至少包含以下语言的界面翻译:

  • 简体中文 (zh-CN)
  • 繁体中文 (zh-TW)
  • 日文 (ja)
  • 韩文 (ko)

Scope

主要涉及 @hyperframes/studio 包中的 UI 文案:

  • 顶部工具栏(Export, Capture, Inspector 等)
  • 左侧面板(Code, Components, Assets, Captions)
  • 时间线区域(Timeline, Drop media here or describe your video to start)
  • Lint 面板的错误/警告信息
  • 设置菜单

Implementation Suggestion

可以参考常见的 i18n 方案:

  1. 提取所有 UI 文案到 locale JSON 文件(如 locales/zh-CN.json
  2. Studio 启动时根据浏览器 navigator.language 或 URL 参数 ?lang=zh-CN 自动选择语言
  3. 提供语言切换入口

Additional Context

HyperFrames 的 HTML 渲染本身就支持中文内容,只是 Studio 编辑器界面缺少中文翻译。这对于在中文社区推广 HyperFrames 将非常有帮助。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions