Persist the language cookie when changing language
The fact that ERP5 does not remember the selected language has been reported as a bug to us.
Instead of using a session cookie, this change make the cookie persists. For one year. This is a bit arbitrary, I copied that behavior from the "remember my username" cookie that we use to have on the login page.