Skip to content

docs(sync): list the supported language codes, including en_au and en_uk - #376

Merged
oturbitt-aai merged 5 commits into
masterfrom
oisin/sync-en-au-en-uk-docs
Dec 4, 2026
Merged

oturbitt-aai merged 5 commits into
masterfrom
oisin/sync-en-au-en-uk-docs

Conversation

@oturbitt-aai

@oturbitt-aai oturbitt-aai commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The sync API accepts 34 codes in language_codes, including en_au and en_uk, which return English with Australian or British spelling. The supported list on SyncTranscriptionConfig.language_codes stopped at zh: it was missing en_au, en_uk and 13 codes the service accepts (ko, ca, gl, ru, ro, et, fa, yue, af, mr, zu, xh, nn). This PR lists all 34. There is no code change: language_codes is a list of strings, so the SDK already sends every code unchanged.

Jira: ASYNC-2058

Changes

  • SyncTranscriptionConfig.language_codes docstring: the supported list has all 34 codes.
  • CLAUDE.md, Sync "Language" paragraph: the same list.
  • Version 1.10.13 → 1.10.14, so the updated docstring reaches users in the next release.

The list matches the LanguageCode enum of the Sync service (AssemblyAI/DeepLearning realtime/asr_sync_u3pro), the same on master and in the production image.

Verification

Requests to production Sync (the eu-north-1, us-east-1 and us-west-2 hosts): language_codes: ["en_au"] and ["en_uk"] return "haemoglobin", "paediatric", "tumour", "centre", "colour" and "grey". ["en"] and no code return US spelling.

No tests: the change is a docstring and Markdown only.

🤖 Generated with Claude Code

oturbitt-aai and others added 4 commits December 4, 2026 10:22
The sync API accepts en_au and en_uk in language_codes and returns
English with Australian or British spelling, also when prompt is set.
Document both codes on SyncTranscriptionConfig, in the README and in
CLAUDE.md, and bump the version to 1.10.14.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop the wording that en_au and en_uk also apply with a custom prompt,
and keep the README guidance to pass language_codes or prompt, not both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the 13 codes missing from the supported list (ko, ca, gl, ru, ro, et,
fa, yue, af, mr, zu, xh, nn), so it matches the 34 codes the service
accepts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oturbitt-aai oturbitt-aai changed the title docs(sync): document en_au and en_uk language codes docs(sync): list the supported language codes, including en_au and en_uk Dec 4, 2026
language_codes takes ISO 639-1 codes plus en_au and en_uk, which are
English with Australian or British spelling.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oturbitt-aai
oturbitt-aai merged commit efe8dd2 into master Dec 4, 2026
10 checks passed
@oturbitt-aai
oturbitt-aai deleted the oisin/sync-en-au-en-uk-docs branch December 4, 2026 11:36
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.

2 participants