Revamped download function to better cope with translations