Fixed setting custom locale