one more bug found in the dataaccess layer... no testing, no party!
changed the way the language is set so the termbases can be opened correctly