Skip to content

i18n: translate product pages and footer#40

Merged
bitwalt merged 2 commits into
mainfrom
i18n/product-footer-keys
May 16, 2026
Merged

i18n: translate product pages and footer#40
bitwalt merged 2 commits into
mainfrom
i18n/product-footer-keys

Conversation

@bitwalt
Copy link
Copy Markdown
Collaborator

@bitwalt bitwalt commented May 16, 2026

Summary

  • Adds 100 missing translation keys to all 7 locale files, each translated into es, it, zh, de, fr, ja.
  • These strings render via t(variable) over static data arrays (product pages: WebApp, Desktop, SDK, Extension, Products) and over footerConfig (footer). The sync-translations.mjs literal-only regex never extracted them, so they fell back to English in every language.
  • Also covers two t("...") literals whose apostrophes the sync regex rejects (Products hero, 404 page).

Test plan

  • Products / WebApp pages and the footer render fully translated (verified in Italian)
  • All 7 locale files parse as valid JSON
  • Spot-check Desktop / SDK / Extension pages in another language

🤖 Generated with Claude Code

The product pages (WebApp, Desktop, SDK, Extension, Products) render
copy via t(variable) over static data arrays, and the footer renders
t(section.title)/t(link.label) over footerConfig. The sync script only
extracts literal t('...') calls, so ~100 strings were never added to the
locale files and fell back to English in every language. Also adds two
t("...") literals whose apostrophes the sync regex rejects.

Adds 100 keys (90 product + 2 apostrophe literals + 8 footer) with
translations across all 7 locales.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown
Contributor

cloudflare-workers-and-pages Bot commented May 16, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
website d03cac7 Commit Preview URL

Branch Preview URL
May 16 2026, 02:50 PM

@bitwalt bitwalt merged commit 8ec0db4 into main May 16, 2026
2 checks passed
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