Translate the following English sentence to French:
"You cannot legislate for consumer confidence. It is something that is earned over a period of time."
Nous ne pouvons légiférer pour obtenir la confiance des consommateurs.