Skip to content

Remove unused localization generator and tighten copy guards - #11

Merged
baixiangcpp merged 2 commits into
mainfrom
remove-localized-generator-review-copy
Jun 19, 2026
Merged

Remove unused localization generator and tighten copy guards#11
baixiangcpp merged 2 commits into
mainfrom
remove-localized-generator-review-copy

Conversation

@baixiangcpp

Copy link
Copy Markdown
Owner

Summary

  • remove the unused synthetic localized content generator so future localized SEO copy is not produced through that shortcut
  • fix localized copy issues found during a full JSON sweep, including fixture direct translations, German duplicate wording, Korean particle grammar, Japanese spacing, and Traditional Chinese spacing
  • add a guard that scans all localized translation JSON and localized SEO template JSON for these known low-quality fragments

Verification

  • npm test -- tests/guards/localized-copy-guard.test.ts
  • npm run check:i18n
  • npm run check:content-template && locale-specific content-template checks
  • npm run check:content-template:quality && locale-specific quality checks
  • npm run validate
  • npm test
  • npm run lint
  • npm run build:app
  • npm run build:post
  • git diff --check

Localization review notes

  • This does not use the removed synthetic generator.
  • Full localized JSON coverage was checked across src/core/i18n/translations and src/core/seo/components/tool-content-template-modules/generated.
  • Expected technical terms such as JWT, API, Base64, Base32, Base58, JSON, YAML, TOML remain as product/domain terms.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying byteflow with  Cloudflare Pages  Cloudflare Pages

Latest commit: 45f8338
Status: ✅  Deploy successful!
Preview URL: https://d474c5b0.byteflow-c58.pages.dev
Branch Preview URL: https://remove-localized-generator-r.byteflow-c58.pages.dev

View logs

@baixiangcpp
baixiangcpp merged commit 6e7004c into main Jun 19, 2026
2 checks passed
@baixiangcpp
baixiangcpp deleted the remove-localized-generator-review-copy branch June 19, 2026 09:59
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