added locale class