Python error message
Submitted by AllanG on Mon, 06/01/2009 - 12:12.
I recently got the following message in the “Messages from Python Macros”
“Found unknown language in acoustic.ini” What does this mean, and where is the file located? What should I do if anything about it?
Allan

Oops, NatLink looks for a
Oops, NatLink looks for a file acoustic.ini in your DNS User Directory (where your speech profile is located). Probably at
for Vista, NatSpeak 10 or at
for XP, NatSpeak 9.
Or somewhere else if you changed the standard location of your speech profiles.
So in this directory there should be a file acoustic.ini with settings like:
From the setting Base Acoustic, voice NatLink extracts the string UK English (in this example). From the python dictionary:
# the possible languages (for getLanguage) languages = {"Nederlands": "nld", "Français": "fra", "Deutsch": "deu", "UK English": "enx", "US English": "enx", "Australian English": "enx", "Indian English": "enx", "SEAsian English": "enx", "Italiano": "ita"}the correct three letter language code (like enx) is extracted.
If the file "acoustic.ini" is not found, "yyy" is returned, if not a valid language can be found "xxx" is returned.
Does it harm? No, as long as the NatLink (Unimacro) grammars do not rely on the getLanguage call of the natlinkstatus module.
Quintijn