How to set the default language in preferences->dictionary->language
Hi guys,
i like to set the default dictionary language as well as the lookup path of the dictionary via script. I've found the property dictionary path as well as some settings for qoutation under languages with vendors:
app.languagesWithVendors[INDEX OF LANGUAGE].name
app.languagesWithVendors[INDEX OF LANGUAGE].dictionaryPaths
Thats fine, but how can it set a certain language with vendor as the default language for the application itself? Under the Preferences->Dictionary dialog, I can find a dropdown showing the default language. But how can I access this default or set it?
The application object has a property object called dictionaryPreferences, but this object only contains some flags like the merge behaviour but not the default language itself. So where is it?
app.dictionaryPreferences.mergeUserDictionary
Menue

Dialog

API
