replace string resouce path with local's