Translate the following English sentence to French:
"For a long time, it was fashionable to apply everything that had contributed to the emergence of cars and aeroplanes to trains."
Pendant un temps, la mode a été de faire tout ce qui a contribué à l' expansion de l' automobile et de l' avion.