Fix gettering current locale information