added externalization and localization