Fixed bug in setting locale and access page translation text formatting