fix the wrong property name of the user country
add default locale
add a message digest function for file