Open
Conversation
Add Catalan language support compatible with the i18next migration.
- lib/i18n/locales/ca.json: 787 translation keys covering all namespaces
(common, toolbar, export, chat, stage, whiteboard, quiz, roundtable,
pbl, generation, settings, profile, media). Migrated from the custom
TypeScript objects in the previous i18n system.
- lib/i18n/locales.ts: register { code: 'ca', label: 'Català', shortLabel: 'CA' }
- lib/audio/constants.ts: add Azure TTS voices ca-ES-AlbaNeural (female)
and ca-ES-EnricNeural (male)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced Apr 11, 2026
wyuc
requested changes
Apr 14, 2026
Contributor
wyuc
left a comment
There was a problem hiding this comment.
Nice work, clean PR.
Two things before merging:
-
Rebase onto main — 4 PRs landed since this branch (#409, #411, #412, #418), adding 28 new keys (
accessCode.*,import.*,export.classroomZip*, and severalsettings.*keys). Also,toolbar.languageHintandpbl.chat.welcomeMessagewere removed in #412, so drop those after rebasing. -
Locale code (optional) — existing locales use region codes (
en-US,ja-JP, etc.). Considerca-ES+ca-ES.jsonfor consistency. Not a blocker.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Catalan (
ca) as a supported locale, following the i18next migration introduced in #331.lib/i18n/locales/ca.json— 787 translation keys covering all namespaces:common,toolbar,export,chat,stage,whiteboard,quiz,roundtable,pbl,generation,settings,profile,medialib/i18n/locales.ts— registers{ code: 'ca', label: 'Català', shortLabel: 'CA' }lib/audio/constants.ts— adds Azure TTS voicesca-ES-AlbaNeural(female) andca-ES-EnricNeural(male)Translation notes
profile.defaultNickname"Estudiant"— warm, gender-neutral Catalan term for a learnerhome.greetingWithName"Hola, {{name}}"— natural Catalan greeting that keeps the name visible as a call-to-actionprofile.bioPlaceholderTest plan
CAvia the header language selector — all interface strings appear in Catalanca-ES-AlbaNeuralandca-ES-EnricNeuralappear in the voice listpnpm buildpasses with no TypeScript errorspnpm lintpasses🤖 Generated with Claude Code