Fixed translate_link to use new version of get/the_permalink