rename 'locales' to 'accepted_locales' to prevent possible conflicts