When I submit the contact form on the French page I would like to get an email confirmation in French.
Instead, I got the confirmation email comes in English.
The issue does NOT occur when I am logged in as administrator while I am submitting the form.
Solution:
1) Go to WPML > Support > Troubleshooting > Clean up and click to run next:
- Clear the cache in WPML
- Remove ghost entries
- Fix element_type collation
- Set language information
2) Go to WPML → Languages and scroll down to the Language filtering for AJAX operations section. Check Store a language cookie to support language filtering for AJAX option.