added support for localization