How about this?
1. replace all URLs into URL1, URL2, URL3...
2. translate to another language
3. replace back to the URLs from URL1, URL2, URL3
How about this?
1. replace all URLs into URL1, URL2, URL3...
2. translate to another language
3. replace back to the URLs from URL1, URL2, URL3