Repository navigation
docs(sync): list the supported language codes, including en_au and en_uk - #376
Merged
Merged
Conversation
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>
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>
mez171
approved these changes
Dec 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The sync API accepts 34 codes in
language_codes, includingen_auanden_uk, which return English with Australian or British spelling. The supported list onSyncTranscriptionConfig.language_codesstopped atzh: it was missingen_au,en_ukand 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_codesis a list of strings, so the SDK already sends every code unchanged.Jira: ASYNC-2058
Changes
SyncTranscriptionConfig.language_codesdocstring: the supported list has all 34 codes.The list matches the
LanguageCodeenum of the Sync service (AssemblyAI/DeepLearningrealtime/asr_sync_u3pro), the same onmasterand 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