Skip to content

fix(strategy27): follow page language without resetting history - #282

Merged
jackhai9 merged 2 commits into
mainfrom
codex/strategy27-i18n
Sep 6, 2026
Merged

fix(strategy27): follow page language without resetting history#282
jackhai9 merged 2 commits into
mainfrom
codex/strategy27-i18n

Conversation

@jackhai9

@jackhai9 jackhai9 commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Strategy 27 displayed mixed Chinese and English on Chinese Binance pages because its status messages and annotations did not use the existing locale contract. Release 0.4.6 localizes the panel, monitoring and history notices, ordinary and compound evidence, chart labels, menus and prompts according to the page language.

Language-only route changes now repaint the existing presentation without reconnecting either stream, changing cursors, dropping history, resetting selection or replacing chart entities. Bilingual candidate copy preserves the first directional observation in both languages. Compound text labels update in place, including asynchronous creation and restoration. English detail labels wrap instead of overlapping values.

Validation:

  • Strategy 27 targeted suite: 156 passed.
  • Full repository suite: 889 passed after integrating the latest main branch.
  • Generated artifact rebuilt; metadata, syntax and check:binance-userscripts passed.
  • Source and generated entrypoint tests verify Chinese/English switching preserves requests and entity IDs, localizes stopped states and prompts, and keeps exactly four menu entries.
  • Compound layer tests cover language switching during creation and restoration.
  • Isolated Chromium preview exercised both languages, selection, collapse, bounds and monitoring notices without page errors; both screenshots inspected.

The change imports the existing locale helpers but does not modify shared, orderbook or Strategy 29 code. Technical diagnostic details and identifiers retain their original spelling. Production installation and loaded-source verification follow merge; no trading action is part of validation.

@jackhai9
jackhai9 merged commit 2c12628 into main Sep 6, 2026
1 check passed
@jackhai9
jackhai9 deleted the codex/strategy27-i18n branch September 6, 2026 07:17
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