added "renderLocalized" helper