Added a function to return the current localeinfo