Skip to content

Document ar, tr, vi and id as dubbing targets - #35

Merged
steven-panxd merged 1 commit into
mainfrom
feat/dubbing-languages-ar-tr-vi-id
Aug 24, 2026
Merged

Document ar, tr, vi and id as dubbing targets#35
steven-panxd merged 1 commit into
mainfrom
feat/dubbing-languages-ar-tr-vi-id

Conversation

@steven-panxd

Copy link
Copy Markdown
Member

The dubbing pipeline gained Arabic, Turkish, Vietnamese and Indonesian. The SDK and CLI kept listing thirteen codes.

Neither validates language codes locally — languages travels as an opaque JSON array string that the backend parses — so nothing here was rejecting the new languages. What was stale is the list a caller reads.

Changes

  • sonilo-cli/src/sonilo_cli/__main__.py--languages help text
  • README.md, sonilo-cli/README.md — docs
  • context7.json — the rule a model reads when picking languages

Notes

ar is unqualified Arabic, not one of HeyGen's seventeen country variants — the es/pt shape rather than the pt_br one. Each doc line says so explicitly, since "Arabic" alone invites the assumption that a dialect can be requested.

context7.json's dubbing rule had to be tightened, not just extended: four more codes pushed it past the 255-character ceiling that sonilo-cli/tests/test_context7.py enforces. "several" → "many" and dropping the parenthesis around the code list buys the room without losing anything the rule exists to convey.

Verification

289 SDK tests and 154 CLI tests pass (run in a clean venv — the ambient environment is missing respx, which is unrelated to this change).

🤖 Generated with Claude Code

The pipeline gained Arabic, Turkish, Vietnamese and Indonesian; this SDK
and its CLI kept listing thirteen. Neither validates language codes
locally — `languages` travels as an opaque JSON array string that the
backend parses — so nothing was rejecting the new codes. What was stale
is the list a caller reads: `--languages --help`, both READMEs, and the
context7 rule a model reads when it picks languages on the user's behalf.

ar is unqualified Arabic rather than one of HeyGen's seventeen country
variants, so it is the es/pt shape and not the pt_br one; each doc line
says so, because "Arabic" alone invites the assumption that a dialect can
be requested. tr, vi and id are plain single-region entries.

context7.json's rule needed tightening rather than just extending: four
more codes pushed it past the 255-character ceiling that
sonilo-cli/tests/test_context7.py enforces. "several" became "many" and
"a list of codes (...)" lost its parenthesis, which buys the room without
dropping anything the rule exists to convey.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@sapient-app

sapient-app Bot commented Aug 24, 2026

Copy link
Copy Markdown

Lightsage docs evals

Waiting for the staging docs URL before running evals.

Lightsage will start the selected PR evals automatically when GitHub reports a successful docs deployment for this PR. This usually happens within 15 minutes.

Commit: fcc0680
Status: waiting for staging docs URL

@steven-panxd
steven-panxd merged commit b05e14e into main Aug 24, 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