i18n: translate 59 pending strings, remove [TODO] markers#39
Merged
Conversation
Replaces the [TODO]-prefixed placeholder values in the es, it, zh, de, fr and ja locale files with proper translations. These covered recently added Blog, Browser Extension, SDK and GPG-verification UI strings, so non-English visitors were seeing literal "[TODO] ..." text. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
website | dfbe626 | Commit Preview URL Branch Preview URL |
May 16 2026, 01:11 PM |
The home FAQ section (src/components/home/FAQ.tsx) calls t() with a variable (t(k.question)), so the sync script's literal-only extraction never picked up the 8 question and 8 answer strings. The keys were absent from every locale file, leaving t() to fall back to English in all 7 languages. Adds the 16 keys with proper translations. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Switches the 8 FAQ question/answer pairs from English-text keys to semantic keys (faq.q1..faq.a8). The English copy now lives as the value in en/translation.json rather than doubling as the lookup key. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
[TODO]-marked strings in the es, it, zh, de, fr and ja locale files (public/locales/*/translation.json).[TODO] ...text for recently added Blog, Browser Extension, KaleidoSDK and GPG-verification UI copy.KaleidoSwap,KaleidoSDK,GetQuoteResponse) kept untranslated; i18next{{count}}interpolation token preserved.Test plan
grep -rc '\[TODO\]' public/locales/reports0for every filenpm run dev, switch language, spot-check Blog / Extension / SDK pages