Skip to content

Feature request: hub UI internationalization and language switching #398

Description

@YunYouJun

Motivation

I'd like to make the Devframe hub UI accessible to users who prefer languages other than English, starting with Simplified Chinese.

The current @devframes/hub-ui settings and built-in UI appear to use English strings directly, and I couldn't find an existing issue tracking UI internationalization. Individual devframes can localize their own views, but users would still see a mix of languages in the surrounding hub UI.

Proposed support

  • Add a language selector in the hub settings, with the user's selection persisted.
  • Extract built-in hub UI strings into translation messages, initially supporting English and Simplified Chinese, with English as the fallback.
  • Provide a straightforward way for contributors to add more translations.
  • Consider a framework-neutral way for individual devframes to discover and react to the selected language, so their views can stay consistent with the hub without requiring a particular i18n library.

The initial scope could be limited to @devframes/hub-ui; localization of built-in devframes and cross-frame language synchronization could follow separately if that makes the change easier to review.

Willingness to contribute

I'm happy to help implement this and contribute the Simplified Chinese translations. Before starting a PR, I'd appreciate feedback on whether this fits the project's direction and any preferences around the translation approach or where the locale preference should live.

Is there an existing plan or related discussion that I should follow?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions