set the locale settings