Translate the following English sentence to French:
"Rail transport, the main lines as well as the district ones, should be a public service, which aims to meet the needs of the population, not to generate private profit."
Mais les transports ferroviaires, les grandes lignes comme les petites, devraient constituer un service public visant à satisfaire les besoins de la population, et pas à générer du profit privé.