set locale according to browser language
merge from origin develop