I've made a proof of concept patch to adjust the default document language automatically. The funny thing I've learned is: the user is able to configure the GUI language but not the default document language. And there are more possible GUI languages than we provide. E. g. I have the choice between old and new german spelling :)
The problem with my approach is the impossibility to make a reliable distinction between german and ngerman or austrian and naustrian. The best I can imagine is to extend LyX's languages file or to hard code the exceptions. The next thing to add would be the appropriate preferences interface for the default document language. Any objections or ideas? Stephan
auto-default-language.patch
Description: Binary data