Problem:
It is currently not possible to translate the Ocean WP Footer Template created inside of the Theme Library.
Solution:
Our compatibility team provided a fix that will need to be implied by the theme author into their theme:
Set the custom field ocean_custom_footer_template to copy-once and update the page and its translation.
Go to plugins/ocean-extra/includes/metabox/metabox.php
Find
This code was inserted into the WPML >> Settings >> Custom XML Configuration section. Afterward, the string became available for translation, and we added a translation via WPML >> String Translation.
Solution:If you go to wp-content/plugins/woocommerce-bookings/templates/single-product/add-to-cart/booking.php Line 39, you will see the string which is currently not wrapped in a getText call resulting in it to not be picked up by String Translation.
I have now wrapped the string within the WC Bookings plugin with a GetText call() which allows you to translated it through String Translation. You can find it under the domain "wc-bookings"
Solution: Please make sure you delete all the translated pages, posts, media and taxonomies before you delete WPML and then go to WPML > Support > Troubleshooting > Reset WPML.
If your site is set to 'A different domain per language' Language URL format, then this code example will not sync the cart's content when you switch the language. But only by adding a class (wpml-ls-item) the element that holds the language's link, the issue is solved. This is the corrected code example.
Problem:
Syntax error, unexpected "&" and/or unxexpected "if" when using WPML with Elementor PRO.
Solution:
A workaround was provided and the issue solved in upcoming WPML update:
Set post/page/CPT (whichever has the problem) to translatable only
OR
Call the menu in template file or widget do not use page builder
OR
Add this code to functinos.php
Problem: My Footer in Astra / Elementor has strings from Mailerlite newsletter signup form. I managed to have them scanned by adding the plugin to the XML config section.
Now though, after the original English text was changed, it won't update in the string translation panel. The old English text is there, and the translation is not shown.
Solution: I searched in our forum about similar tickets and it seems Mailster plugin is not compatible with WPML, however I found a workaround for this issue: I created a test form that will act as the French form (for testing purposes only) and as I don't know Mailster I just leaved with the text by default. Then I edited the footer and manually switched languages using the admin menu at the top, which allowed me to edit the French version of the Footer. Once in the French version I manually added the shortcode for the new form and saved the changes.