Repository navigation
feat(i18n): add Indonesian (id) language support for OmniVoice - #1206
Open
Ahmadnidzam wants to merge 1 commit into
Open
Ahmadnidzam wants to merge 1 commit into
Ahmadnidzam wants to merge 1 commit into
Conversation
- Add an Indonesian UI locale (882 keys) and register it in the i18n setup. - Accept "id" in language fields for voice profiles, generation, speak, capture retranscription, and transcription. - Expose Indonesian for the OmniVoice engine and the STT language picker. - Reject "id" with 400 on TTS engines that do not declare Indonesian. - Retry OmniVoice generation when the output is empty or silent, with a seed offset per attempt so retries stay deterministic. - Raise the default OmniVoice diffusion steps from 32 to 64. On the Indonesian benchmark this lowered the median WER on clean sentences. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nu2q6yVHAzP3TaTUA3wXu2
ajakanme-org
approved these changes
Oct 26, 2026
This branch has not been deployed
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
Adds Indonesian (
id) support, end to end, for the OmniVoice TTS engine and Whisper STT.idlocale (882 keys, same structure asen), registered in the i18n setup and the STT language picker.idis accepted by the language fields of voice profiles, generation, speak, capture retranscription, and transcription. This is additive.idis listed for OmniVoice. Other TTS engines rejectidwith HTTP 400 and a clear message. Other language codes are unchanged.zero-size arrayerror in post-processing). Generation now retries with the seed offset by attempt index, so retries stay deterministic. If every attempt fails, it raises aRuntimeErrorwith a clear message.NUM_DIFFUSION_STEPSmoves from 32 to 64. On a 24-sentence Indonesian benchmark (2 seeds), the median WER on clean sentences went from roughly 0.05-0.07 to 0. Generation takes about twice as long (about 3.8 s vs 1.8 s per clip on an RTX 3050).Notes for reviewers
idfor Indonesian. The override table is unchanged;idpasses straight through.idrequests to engines without Indonesian now return 400. Other languages keep their previous behavior. Onlyidis guarded, to avoid breaking existing clients.app/src/lib/apiis not regenerated. The frontend does not validate language codes through it, so this PR does not need it. Regenerating would touch many unrelated files.Testing
bun run typecheck) passes.bun run build:webpasses.test_find_ffmpeg_honours_override_direxpects an extensionlessffmpeg, andtest_hf_progress_trackercaptures no tqdm updates.test_omnivoice_empty_retry.py(6): retry on empty output, seed offset, final error, instruct errors are not retried, and the degenerate-output check.test_generation_language_guard.py(9):idrejected on engines without it, accepted on OmniVoice, other languages untouched.🤖 Generated with Claude Code