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.
Problem: The client needs to automatically translate over 100 product categories, menus, and other taxonomies without doing it manually. Solution: If you're experiencing the need to translate a large number of taxonomy terms, such as product categories, menus, and other taxonomies, we recommend creating a temporary product and assigning all the taxonomies you wish to translate to that product. Then, use the Advanced Translation Editor to translate the product automatically, which will also translate all the assigned taxonomies.
For detailed steps on how to translate all taxonomy terms at once, please refer to our documentation:
Regarding menus, WPML provides options to translate them automatically, manually, or synchronize their content between languages. For more information on translating menus, please visit: Translating Menus
If this solution doesn't look relevant to your situation, please open a new support ticket here.
Problem: The client wanted to add a separator like "|" between the languages in the WPML language switcher and needed help with the CSS code to properly position and style the separator. Additionally, the client required assistance with displaying the language switcher horizontally with the separator on mobile devices.
Solution: We recommended checking our documentation on creating a custom language switcher and fixing styling issues:
Please note that the solution provided might be outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If necessary, please open a new support ticket for further assistance.
Problem: Client reported an issue where webhooks are WC Webhook is not triggered when a new product translated.
Solution: We have confirmed that this is a known issue and it will be addressed in a future update of WPML. However, this fix will take some time to be released. In the meantime, we recommend the following workaround: 1. Ensure you have a complete backup of your site files and database. 2. Add the following code to your theme's functions.php file: