added configure locale