anomalyco / anomalyco/opencode

Blocked-account error message mistranslated in all non-English locales

Open
#48,480 1 comment 0 reactions 1 assignee View on GitHub

@Hona is already working on this.

Since Sep 11, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

zen.api.error.requestBlockedByUpstreamProvider was updated in en.ts by #41819 to tell users their account was blocked for ToS/fraud and to contact help@anoma.ly. All 17 non-English locales still carry the pre-#41819 meaning — a literal "request blocked by upstream provider" (zh: 请求被上游提供商阻止, ja: 上流プロバイダーによりリクエストがブロックされました, ko/de/fr/ru/ar similar).

Result: non-English users hitting an account block see what reads as an infrastructure outage, and never get the actual reason or the appeal contact. There are ~25 open issues quoting "Request blocked by upstream provider" — several from zh/ru speakers treating it as a service outage rather than an account action.

The locale files appear to be bulk-synced (periodic "sync" commits updating all locales together), so a hand edit to zh.ts alone probably gets overwritten. If the translation source is internal this may just need a re-sync of that key; if community edits to locale files are welcome, happy to PR corrected strings for the affected locales.

Steps to reproduce
  1. Compare packages/console/app/src/i18n/en.ts (zen.api.error.requestBlockedByUpstreamProvider, changed in #41819) against the same key in zh.ts, ja.ts, ko.ts, etc.
  2. Or trigger the blocked-account path with a non-English Accept-Language — the response says "blocked by upstream provider" instead of the account-block notice.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.