Auto translate url of post item
Updated if to elseif