On Wed Feb 15 10:08:48 2023 +0000, Rémi Bernon wrote:
Can you really assume fixed length here? If not sure, what about `strchr( locale, '-' )` somewhere to find the separator?
Yeah good question. Vosk uses a "2-2" language code, but in any case your solution sounds more future proof. I wonder if Chinese will even work?