Skip to content

refactor(i18n): translate entire app from French to English#46

Merged
srfwb merged 12 commits into
mainfrom
dev
Apr 27, 2026
Merged

refactor(i18n): translate entire app from French to English#46
srfwb merged 12 commits into
mainfrom
dev

Conversation

@srfwb
Copy link
Copy Markdown
Owner

@srfwb srfwb commented Apr 27, 2026

Summary

Switches every user-facing string in WeCode from French to English. No i18n library — strings stay hardcoded, just in the new language. Internal type values (difficulty, HomeTab, palette group labels) also move to English identifiers.

What changed

User-facing

  • All UI labels, buttons, placeholders, tooltips, aria-labels, toast messages, error messages, and modal text are now in English.
  • Editor hover hints (~50 entries for HTML elements, attributes, and CSS properties) translated.
  • Lesson and challenge content (titles, descriptions, instructions, checkpoint labels) translated.
  • In-app changelog rewritten in English (Added / Changed / Fixed).
  • Home greeting says "Welcome to WeCode" instead of "Bienvenue dans WeCode".
  • Date format switched from fr-FR to en-US.

Internal

  • LessonData.difficulty: "débutant" | "intermédiaire" | "avancé""beginner" | "intermediate" | "advanced".
  • HomeTab: "accueil""home" (+ all consumers in HomeShell, HomeNav, palette shortcut).
  • PALETTE_GROUP_LABELS: French labels → English.
  • fileErrorMessages.ts: all 8 error mappings translated.
  • statusBarFormat.ts: save status strings translated.
  • Test assertions updated across 5 test files to match English strings.
  • CLAUDE.md updated: "UI strings are in English".
  • 12 commits, one per domain (types, home, IDE, projects, palette, hints, lessons, changelog, tests, docs).

@srfwb srfwb merged commit 7af7e2c into main Apr 27, 2026
2 checks passed
@srfwb srfwb deleted the dev branch April 27, 2026 08:15
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