Skip to content

Add i18n (Internationalization) Support #66

@kap1bala

Description

@kap1bala

Hello!

I've noticed that WebInstaller currently lacks internationalization (i18n) support. As a user/developer interested in this project, I would like to contribute by adding i18n functionality to WebInstaller.

Motivation:
This will improve the experience for non-native English speakers, lowering the barrier to entry and helping the project attract a broader global audience of users and contributors.

Plan (Initial Idea):

  • Architecture: Considering the project's need for lightness, I propose an initial implementation using native JavaScript. The plan is to add data-i18n attributes to HTML tags that require translation and use a simple JavaScript function to load and replace text content.
  • Contribution: I can complete the setup of the entire framework and provide a complete Chinese (Simplified) translation.
  • Backward Compatibility: The default language will remain English, and all changes will be non-breaking, ensuring no impact on existing functionality.

If this proposal is accepted in principle, I would be happy to create a Pull Request for demonstration and further discussion.

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