remove extra space in locale string