sd-webui-bilingual-localization  by journey-ad

SD WebUI extension for bilingual localization

created 2 years ago
909 stars

Top 40.8% on sourcepulse

GitHubView on GitHub
Project Summary

This extension provides bilingual localization for the Stable Diffusion web UI, targeting users who need to navigate the interface in multiple languages simultaneously. It aims to simplify the user experience by displaying original and translated text side-by-side, eliminating the need to search for original button labels.

How It Works

The extension injects bilingual translations directly into the Stable Diffusion web UI. It supports custom localization files and offers advanced features like "Scoped Localization" and "RegExp pattern" matching. Scoped localization allows translations to be applied only to specific UI elements identified by element IDs or CSS selectors, preventing unintended global replacements. RegExp patterns enable more flexible, pattern-based translations, particularly useful for dynamic text.

Quick Start & Requirements

  • Installation:
    • Via URL: https://github.com/journey-ad/sd-webui-bilingual-localization within the web UI's "Install from URL" feature.
    • Manual Clone: git clone https://github.com/journey-ad/sd-webui-bilingual-localization extensions/sd-webui-bilingual-localization
  • Prerequisites: Stable Diffusion web UI (versions after 2023 with extension support).
  • Usage: Set UI Localization to "None" in Settings, then select and apply your desired localization file in the "Bilingual Localization" panel.

Highlighted Details

  • Bilingual display of UI elements.
  • Compatibility with existing language pack extensions.
  • Dynamic translation of tooltips and titles.
  • Scoped and RegExp pattern translation for granular control.

Maintenance & Community

The project is hosted on GitHub. No specific community channels or notable contributors are mentioned in the README.

Licensing & Compatibility

The repository does not explicitly state a license. This may pose a restriction for commercial use or integration into closed-source projects.

Limitations & Caveats

Localization files are not included and must be sourced from third-party language extensions. The lack of an explicit license requires clarification for commercial adoption.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
10 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.