Fixed bug in reading default language.