• Stefy Lanza (nextime / spora )'s avatar
    french was never going to work, and a test said it would · 0e8e24e2
    Stefy Lanza (nextime / spora ) authored
    Probing all nine of Kokoro's languages through the running endpoint, one request
    each: eight returned audio and `fr` returned a 500 — "espeak-ng has no such
    language". French is regioned in espeak exactly like English (fr-fr, fr-be,
    fr-ch), so the bare code every OpenAI-compatible client sends was refused. The
    French voice had never worked.
    
    The regionless map's own comment asserted the opposite: that "it", "fr" and "de"
    are all accepted bare. Two of those are true. A test asserted the same thing for
    all three, so the belief was pinned in place without ever being measured —
    exactly the failure the Kokoro-English fix was about, one language further along.
    "fr" now maps to "fr-fr"; the comment says not to add a code on the strength of
    the pattern, because the pattern is what got this wrong.
    
    Measured bare-OK while I was there, so the next person has data instead of a
    guess: de, it, nl, pl, tr, ru, ko, ar, cs, hu, sv. The corrected test asserts
    those, and a new one checks the invariant that broke here — every language the
    listing advertises for Kokoro must resolve to something espeak was measured to
    accept.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_014T3rZozi1Ehk96NG1WesgC
    0e8e24e2
test_full_pass_regressions.py 17.9 KB