Problem: If i don't use a translation editor and i want to have different flexible field elements per language, some of them erase their content
Solution: set the translation preference of all the fields inside the flexible field to either "translate" or "copy once". They all MUST have the same exact translation preference (included the flexible field itself).
Problem: MotoPress Hotel Booking Calendar not showing
Solution: It looks like a compatibility issue and translated Accommodation post ID is not synced in Spanish Pages. It works as expected when we specify the ID of translated Accommodation post. So we have to manually translate the Accommodation post ID in translated pages to fix this issue.
But the issue is still there, the code made no difference. The error doesn't appear on the staging server.
Solution:
We could solve the icl_table issue in your website following these steps:
- First, we excluded WPML plugins and reinstalled with their latest versions
- Then, we removed the code on functions.php that you've added in order to recreate the icl tables
- We went to your database and could find the entries "wpml_string_table_ok_for_mo_import" and "wpml_notices"
- After we deleted them, the issue was fixed and the notice on your WP Dashboard disappeared
Problem:
I translate the page and save the translation, but when I go to a page for that language i.e. http://example.com/en/about-us/ the content of the header is still the default.
Solution:
First of all, please go to WPML → Settings → Custom XML Configuration tab and add this XML config to it:
Here, edit the Permalink and change fmt-header to fmt-header-es (just simply add -es at the end, so the permalink in each language can be different).
The last step is to go to WPML → String Translation and search for the header template permalink. In the test website is fmt-header. As the translation, just simply add the permalink that you just set, fmt-header-es.
This time, when checking a page in the secondary language, the translated header will be used: https://website.com/es/
Problem:
In WPML - Settings - Custom Fields Translation, many fields are linked to a plugin that no longer exists, but still many Fields are present. How to remove them?
Solution:
WPML doesn't know once you remove a plugin. All fields are still active in the DB and therefore, WPML still displays them. Please refer to the following post, which explains this perfectly for ACF Custom Fields.
In the "Pricing" section of the widget, I set the Currency Symbol to 'None', and (optionally) added a $ to the 39.99 price. Is there is a way to get WPML to include the price text field for translation via Translation Editor, along with the Heading, Period, Button Text etc?
Solution:
- Go to WPML > Settings > Custom XML configuration and add next XML code: