added support for localized strings from resources [not tested]