When displaying contribution page validation errors or confirmation screen, CiviCRM switches to the default language instead of remaining in the current language
When using a contribution form in French with the confirmation page enabled, the page redirects to the English confirmation page url instead of the French.
If I manually switch to the French url, everything looks OK, but if you hit the CiviCRM 'go back' button, it will take you back but switch to English again.
If you attempt to go to the confirmation page but the form doesn't validate, while the URL doesn't change, the contents switch to English - all except for price set options (price set labels and help text are in English though).
This is our set-up:
- Drupal 7 with language detection based on url language prefix (en, or fr)
- Multilingual site using CiviCRM 5.6.1 (latest at time of writing)
- 'Inherit CMS Language' is enabled
- Default language is en_CA, secondary language is fr_CA
The bilingual demo site is currently out of date so I've been unable to confirm the issue outside of our own site.