Skip to content

Some Legacy TTS Languages are broken #19996

@david-allison

Description

@david-allison

Albanian no longer works: 036707c

036707c5a6d47f20250a8de43d154c8893fea335 is the first bad commit
commit 036707c5a6d47f20250a8de43d154c8893fea335
Author: David Allison <[email protected]>
Date:   Mon Dec 15 12:13:55 2025 +0700

    fix(tts): MissingResourceException in `getISO3Language`
    
    > MissingResourceException – Throws MissingResourceException if three-letter language abbreviation is not available for this locale.
    
    `iso3Code` is our extension which returns null
     in this situation
    
    Fixes 19813

 AnkiDroid/src/main/java/com/ichi2/anki/ReadText.kt | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions