Skip to content

Translate the code tool proposal card (DE, IT) - #1377

Merged
helpcodeai merged 3 commits into
HelpCode-ai:mainfrom
sapatmohit:feat/i18n-code-tool-proposal
Nov 1, 2026
Merged

helpcodeai merged 3 commits into
HelpCode-ai:mainfrom
sapatmohit:feat/i18n-code-tool-proposal

Conversation

@sapatmohit

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #1360, as asked there: the "Code tool proposal" card that #1369 added to /knowledge-graph/skills is now in German and Italian. No behaviour changes, and Accept-Language: en-US renders exactly what it rendered before.

Changes

  • app/knowledge-graph/skills/page.tsx: the code proposal card:

    • the "Code tool proposal" and "Created" badges;
    • the meta line;
    • the Create tool / Dismiss / Delete buttons;
    • Why / Does;
    • the program size;
    • the note about editing the tool afterwards;
    • the "Could not create the tool." fallback.

    The program size now uses {count, number} like the procedure size next to it, so it follows the UI language.

  • messages/{en,de,it}.json: a new aiSkills.codeProposal group (12 keys). The Delete button's title reuses aiSkills.delete.

Left in English on purpose: the proposal's own content from the server (title, why, description and the program), and the server error text.

Translations

German and Italian aren't my native languages, so please review those strings. They follow the terms from #1326 and #1360: "Tool" / "strumento", "Verwerfen" / "Scarta" to match the "Verworfen" / "Scartate" tab. Strings I'm least sure about:

  • "Code-Tool-Vorschlag" / "Proposta di strumento di codice" for the badge.
  • "Does:" is "Funktion:" in German and "Cosa fa:" in Italian.
  • "runs with the caller's permissions": "läuft mit den Berechtigungen des Aufrufers" / "viene eseguito con i permessi di chi lo chiama".

Type

  • New feature

Testing

3 new tests in tests/e2e/i18n.spec.ts, with a mocked pending code proposal on a connector:

  • de-DE: the card renders in German, including the meta line, the buttons, the program size and the note.
  • it-IT: the card renders in Italian.
  • en-US: every string on the card stays exactly as before.
Directory Command Result
packages/frontend npm run lint 0 errors, 46 warnings (same as main, none new)
packages/frontend npx tsc --noEmit -p tsconfig.json pass
packages/frontend npm run build pass
packages/frontend npm run test:e2e 315 passed, incl. the 3 new ones
  • Added/updated tests

Checklist

  • My code follows the existing code style
  • I have tested my changes locally
  • All existing tests pass (frontend; backend unchanged)
  • This PR has a descriptive title

Related Issues

Closes #1271. With this follow-up, every area listed there is translated. The shared chrome (the footer theme switch, the command palette, the banners and the billing notices) is still English. I'm happy to open a new issue for it if you'd like it translated too.

@helpcodeai
helpcodeai enabled auto-merge (squash) November 1, 2026 09:58
@helpcodeai
helpcodeai merged commit e197beb into HelpCode-ai:main Nov 1, 2026
14 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Translate the rest of the admin UI (DE, IT)

2 participants