localize the external resource