tests/ttslanguages: fix the language code selection