Skip to content

feat: add shared English and Italian localization - #27

Open
cmdr-chara wants to merge 1 commit into
HANCORE-linux:mainfrom
cmdr-chara:feat/i18n-en-it
Open

feat: add shared English and Italian localization#27
cmdr-chara wants to merge 1 commit into
HANCORE-linux:mainfrom
cmdr-chara:feat/i18n-en-it

Conversation

@cmdr-chara

Copy link
Copy Markdown

Summary

Adds initial English/Italian localization support to Quickshell Rise for both V1 and V2.

What changed

  • Added a shared Translation.qml localization helper
  • Detects locale using LC_ALL, LC_MESSAGES, then LANG
  • Italian locales use it_IT; unsupported locales fall back to English
  • Localized:
    • Clock tooltip dates
    • Calendar month and weekday labels
    • Weather panel labels and forecast days
  • Removed hardcoded English month/day arrays where replaced by locale-aware formatting
  • Added qs-i18n-regression.sh
  • Updated usage and development documentation

Scope

This PR intentionally establishes the localization infrastructure with a limited first set of UI surfaces rather than translating the entire shell at once.

The shared helper can be extended later for other panels and additional languages without duplicating locale logic between V1 and V2.

Testing

  • Added static regression checks for both V1 and V2 localization paths
  • Verified the branch is based directly on current upstream main
  • No unrelated workflow/bootstrap files are included

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant