added a function to get the default language code