Skip to content

[Bug] Localization issue: mixed Chinese and English UI #77

@l506228475-jpg

Description

@l506228475-jpg

Localization issue: mixed Chinese and English UI

When running the current release on a macOS system set to Simplified Chinese, some parts of the UI are translated but other parts still appear in English.

What seems to be happening

This does not look like a missing zh-Hans.lproj issue. The app already ships with Chinese localization, but some UI strings are not fully wired into the localization system.

Root causes found

  • Some SwiftUI views still use hardcoded English strings directly.
  • Some user-facing strings are missing from en.lproj/Localizable.strings.
  • Some localization keys do not exactly match the strings used in code.
  • Some reusable components render plain String values instead of localized keys.
  • Some dynamic labels use inline interpolation instead of stable format-string keys.

Examples

  • Your Mac is clean vs Your Mac is clean!
  • freed vs freed up
  • Empty-state text like No Orphaned Files or No leftover files from uninstalled apps were found.
  • Sidebar / toolbar labels such as Home, Applications, Installed Apps, Orphaned Files

Suggested fix

  • Move all user-facing UI text into en.lproj/Localizable.strings
  • Make SwiftUI views consistently use localized keys
  • Replace interpolated UI text with format-string keys
  • Audit shared components to ensure they preserve localization
  • Add a localization consistency check before release

This should prevent mixed-language UI in future releases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions