copied locales option to prevent outside modification