Skip to content

Bug: Activity logs keep English number formatting after the language changes #3635

Closed

Description

@yannickmonney

Activity logs keep English number formatting after the language changes. Confirmed locally against 44e0dcf254975286c0e9dea443b5cd1ca6b23347.

The activity report mixes localized labels with English numeric punctuation; in German the comma can be read as a decimal separator.

Steps to reproduce:

  1. Choose German or French as the app language.
  2. Open Settings > Governance > Logs > Activity with a count greater than 999.
  3. Inspect the summary cards, category breakdown and top-actor counts.

Expected: Counts should follow the selected locale, such as 1.310 in German and 1 310 in French.

Actual: With 1310 actions, all three surfaces render 1,310 in both German and French, while their headings are correctly localized. Every call omits the current locale and formatNumber defaults to English.

Source:

Behavior oracle: The shared number helper supports locale-aware grouping when the locale is supplied.

Local proof: /Users/yannick/.codex/notes/tale-100-findings/notifications-proof/locale-boundaries.test.tsx. Frozen output: /Users/yannick/.codex/notes/tale-100-findings/notifications-proof/frozen/batch-02/locale-boundaries.log. 4/4 component probes passed. Production NotificationListPanel and ActivityLogView ran with real DE/FR catalogs and controls.

/Users/yannick/.npm/_npx/22f2fe8d8bc13000/node_modules/.bin/bun x vitest run --config /Users/yannick/.codex/notes/tale-100-findings/notifications-proof/vitest.config.ts locale-boundaries.test.tsx --maxWorkers=2 --reporter=verbose

Local jsdom execution at the pinned source. Only backend query boundaries and router navigation were replaced by controlled fixtures. Real production components, i18n catalogs and design-system controls ran. No browser or production request.

Deduplication: Reviewed existing-issues.json (931 all-state issues) and the current findings.json; no equivalent root cause found. All-state GitHub searches: activity locale number. No equivalent activity-count locale issue found. This is not the separately owned knowledge timestamp-unit defect.

Frozen source copy: /Users/yannick/.codex/notes/tale-100-findings/notifications-proof/frozen/batch-02/locale-boundaries.test.tsx. SHA-256 index: /Users/yannick/.codex/notes/tale-100-findings/notifications-proof/frozen/batch-02/sha256.json. The command executes the identical top-level scratch source; reruns may replace top-level result files but never these frozen copies.

Parent verification: independently executed the frozen proof and controls successfully; retained output: notifications-proof/parent-batch2-ui.log. Live all-state issue searches and related historical reports were checked before filing.

Acceptance: add regression coverage across the reported boundary and preserve the passing controls. Verify the corrected result with local API readback or the rendered UI as applicable.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions