Skip to content

Add zh-CN localization for embedded dashboard#85

Open
vimalinx wants to merge 6 commits intoRightNow-AI:mainfrom
vimalinx:feat/dashboard-zh-cn-i18n
Open

Add zh-CN localization for embedded dashboard#85
vimalinx wants to merge 6 commits intoRightNow-AI:mainfrom
vimalinx:feat/dashboard-zh-cn-i18n

Conversation

@vimalinx
Copy link
Copy Markdown

Summary

  • add a lightweight runtime i18n layer (zh-CN + en) for the embedded dashboard UI
  • localize common shell text, toasts, confirm dialogs, status/error strings, and markdown copy button labels
  • add a locale toggle in the header and wire locale-aware date/number formatting in scheduler and hands pages
  • include related lint-safe JS refactors and a small clippy cleanup in CLI diagnostics path

Verification

  • cargo build --workspace --lib
  • cargo test --workspace
  • cargo clippy --workspace --all-targets -- -D warnings

@Jengro777
Copy link
Copy Markdown

@vimalinx
Is there any new progress?

@jaberjaber23
Copy link
Copy Markdown
Member

Reviewed and approved. Has merge conflicts with recent changes. Please rebase onto current main and we will merge.

@Jengro777
Copy link
Copy Markdown

@vimalinx
Looking forward to

@vimalinx
Copy link
Copy Markdown
Author

Updated this PR onto the latest main and resolved the merge conflicts.

I also reran cargo test locally on the merged result and it passed.

@Jengro777
Copy link
Copy Markdown

Updated this PR onto the latest main and resolved the merge conflicts.

I also reran cargo test locally on the merged result and it passed.

Great, looking forward to the merger.

@Vimalinx-zero
Copy link
Copy Markdown

Rebased onto the latest main and resolved the previous conflicts.

I reran cargo test locally on the updated branch, and GitHub is currently showing this PR as mergeable on my side. Ready for maintainer merge whenever convenient.

@Jengro777
Copy link
Copy Markdown

Jengro777 commented Mar 29, 2026

@jaberjaber23
Can it be merged?

@Jengro777
Copy link
Copy Markdown

Quick feedback from the community:
https://github.com/librefang/librefang

@vimalinx vimalinx force-pushed the feat/dashboard-zh-cn-i18n branch from 66dc2c5 to 022aa8b Compare April 2, 2026 01:41
@vimalinx
Copy link
Copy Markdown
Author

vimalinx commented Apr 2, 2026

Rebased this branch onto the current main and resolved the merge conflicts. GitHub is now showing the PR as mergeable on my side.

Verification note: a full cargo test run is currently blocked by an existing compile error in crates/openfang-runtime/src/mcp.rs (StreamableHttpClientTransportConfig non-exhaustive struct construction), which is also present on the current main. The actual diff on this branch remains limited to the dashboard zh-CN localization files and related merge-resolution updates.

@Jengro777
Copy link
Copy Markdown

@vimalinx

This project is too disrespectful to the community. It is recommended to move to:https://github.com/librefang/librefang

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.

4 participants