Problem:
I would like to place a custom language switcher in the top right corner of the header (I have 1 global header and 2 custom headers made with Divi Theme Builder)
Solution:
Place the custom language switcher shortcode [wpml_language_selector_widget] in the Divi code module in the global header made with Divi builder.
That shortcode outputs the language switcher based on the options set in the Custom Language Switchers section.
In this example, 'documentation' represents the slug of the page you link to and don't want to take the user to the translation of this page. Please read more about this function in our documentation here.
1. You do not need to activate the Sticky Links add-on.
2. For existing pages and posts with links in their content, you might need to make a small change on the page and press the Update button. And then also update the translation.
Problem:
The advanced custom field relationship is not translated, the English field has Arabic values, not the English ones. Relationship fields are set to Translate.
Solution:
- Go to ACF > Fields groups > Edit and set your relationships field to Copy, so the same value is copied to the translated post.
- Go to default language post and click Update so correct values are now synced and copied.
Problem:
WPML updates might not be displayed/available on the admin Plugins page even after we announced them.
Solution:
All new versions of WPML and its add-on plugins are released gradually. They appear on the Plugins page only after the release is rolled out to 100% of the sites.
To get the update right away, go to the Plugins > Add New page, click the Commercial tab, and then the Check for updates button. Finally, select the updates you want and click to download them.