added attr_accessible for locale and phrase