Skip to content

Add i18n to the main process#897

Merged
Lezurex merged 3 commits into
mainfrom
i18n-main-process
Jul 7, 2026
Merged

Add i18n to the main process#897
Lezurex merged 3 commits into
mainfrom
i18n-main-process

Conversation

@Lezurex

@Lezurex Lezurex commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

The main process was not i18n'ed until now. This includes the tray icon
or the top menu bar. These would be displayed in English regardless of
what language the user had selected.

This change adds the setup for i18next to the main process as well. We
now have shared i18next configuration for the renderer and main.

Additionally, Chinese translation improvements were cherry-picked from
@ORyong s PR #895.

@github-project-automation github-project-automation Bot moved this to Backlog in sleek 2.x Jul 7, 2026
@Lezurex Lezurex force-pushed the i18n-main-process branch 3 times, most recently from c517121 to 4a286a0 Compare July 7, 2026 21:47
Lezurex and others added 3 commits July 8, 2026 00:20
The main process was not i18n'ed until now. This includes the tray icon
or the top menu bar. These would be displayed in English regardless of
what language the user had selected.

This change adds the setup for i18next to the main process as well. We
now have shared i18next configuration for the renderer and main
processes.
Additionally, improve Simplified Chinese translations.

Co-authored-by: Lenny Angst <lenny@familie-angst.ch>
@Lezurex Lezurex force-pushed the i18n-main-process branch from 4a286a0 to 85c4d34 Compare July 7, 2026 22:21
@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 43.33333% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 57.77%. Comparing base (19862f3) to head (85c4d34).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
src/main/i18n.ts 0.00% 9 Missing and 2 partials ⚠️
src/main/File/Archive.ts 0.00% 5 Missing ⚠️
src/main/File/Dialog.ts 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #897      +/-   ##
==========================================
+ Coverage   49.65%   57.77%   +8.11%     
==========================================
  Files          23       41      +18     
  Lines         876     1068     +192     
  Branches      285      289       +4     
==========================================
+ Hits          435      617     +182     
- Misses        367      375       +8     
- Partials       74       76       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Lezurex Lezurex merged commit 85c4d34 into main Jul 7, 2026
9 of 10 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in sleek 2.x Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants