Problem:
When moving between months, the url now looks like this:
domain.com/(/?:events)/(/?:month)/2020-05/ when it should look like domain.com/events/month/2020-05/
Solution:
Events Calendar takes the translation of months from WordPress language files. If you have those translation downloaded, month and day strings will be loaded from those files. Otherwise, you can delete language files and translate months using WPML.
I've checked things on your site and found out that the problem is coming from one of the files in the following location:
/wp-content/languages/wpml/
Please proceed as follows.:
1. Take a backup of your site in case something goes wrong so you will be able to restore things before the following changes.
2. Connect to your site with FTF or use the WP File Manager plugin that is installed on your site. And go to /wp-content/languages/wpml/.
3. Select all the files in this folder and delete them.
4. Visit WPML -> String Translation. This should generate new files in /wp-content/languages/wpml/ and fix the problem.
**** Important! Please make a full site backup (files and DB) before you proceed with those steps****
Problem:
When translating a page, it includes content that doesn't exist on the page. Upon investigation, I found that this is content that was added to the native WordPress editor. Upon switching the editor to Divi Builder, it saves it in the background, so it can be restored when you disable the Divi Builder again.
The problem is that WPML also sends this old content to the translator, who will then translate and charge for it. I can't find a way to get rid of it from within WordPress/Divi, so was hoping there is a way to exclude it from being send to the translator.
Solution:
The field that you're looking for is _et_pb_old_content.
I'm not sure if this field is needed by the Divi builder or not, but I went to WPML → Settings → Custom field translation, searched for this field, pressed the lock icon to be able to change its settings, and set it to copy (just to be safe).
Now, I went back to the page I created (in the original language), just hit the Update button (without opening the page in Divi builder), then updated the translation. This time, the field-_et_pb_old_content didn't appear anymore.
2. Please make sure that you first create a full website backup so that you are safe no matter what happens.
3. The oldest version you are able to download from that link is "3.8.3". After that, I recommend that you update to each new major version (3.9, 4.0, 4.1, 4.2 and 4.3).
You can also try to create a full website backup first and then update to the latest version and see what happens - it there's gonna be serious errors and not simple notifications, then please update gradually.
Make the attribute copy/copy once/translate in WPML > Settings > Custom Term Meta Translation. screenshot attached.
Please go to WooCommerce -> WooCommerce Multilingual -> Attributes. Here, select your attribute and then click "Sync attributes and update product variations". Does this resolve the issue for you?
If not, please go to WooCommerce Multilingual and click on the Status tab. Scroll down and click the troubleshooting link. Then run through the troubleshooting steps. Does this resolve the issue?
Please be sure to make a full backup of your site and database.
Then, go to WPML -> Support -> Troubleshooting.
Look for 'Clean up' and click the following:
- Synchronize posts taxonomies (run this once for Variations and once for Products)
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix Terms count
- Fix post assignment for translations
After these steps, do the Product -> Attributes should show the correct counts.
If you are making changes to the number of languages your site is available in, you can delete all languages except for the default one. This action also removes the translations for the deleted languages from your site and database.
If you additionally want to uninstall WPML, you can do a WPML reset. This removes all remaining WPML tables from the database.
Problem:
The main domain is mydomain.be. The second domain is mydomain.com. My objective here is: when people are in Dutch, they see the .be site. When they're in English, they see the .com site.
Solution:
Set up both domains to point to the same server IP address and the same directory where WordPress is located. Alias configuration should all point to the same physical folder where your WordPress is being installed. URL should show the same website.
Problem:
String Translation - domain is missing from the list when using HAML Solution:
The 4.0.7 version is an older version and since then there have been plenty of changes made to our code.
As WPML itself does not scan or officially support HAML files I wouldn't be able to point out what change was made that could have caused this behavior with HAML files.
One of the functions that scan the templates has changed. It's possible the new function does not scan non-PHP files
Line 31 of wpml-string-translation\classes\strings-scanning\wpml-st-theme-plugin-scan-dir-ajax.php will allow .haml files to be scanned by changing:
$file_type = array( 'php', 'inc' );
to
$file_type = array( 'php', 'inc', 'haml' );
However, I tried this and it doesn't catch the strings in Haml.
You might want to examine the following file which should be where all the actual processing is happening:
wpml-string-translation\inc\potx.php
NOTE: I did test with version 4.0.7 of WPML and its version at the time of String Translation and it still does not scan HAML files.
Once you go to WPML->Themes and Plugins localization-> Scan your theme and then you get a list of all the files scanned, only .php files are scanned.
Problem:We added a custom Chinese language but hreflang is wrong
Solution:1. Go to WPML->Languages -> Add a new language and add the default Chinese language again
2. Click on "Edit languages"
3. Change the hreflang from the default language to something else and update
4. Now you should be able to assign the correct one to the new custom CN language
Problem:
Half of the products has featured images, the other half has not.
Solution:
1. Make sure you have marked both options for media attachments on your original product: 'Duplicate uploaded media to translations' and 'Duplicate featured images'. Then try saving and updating your original and translated product.
2. You can use Media translation plugin and in WPML>Settings>Media translations and try to sync images.
- You need to make sure you click the 'Start' button
This page includes support tickets that are resolved and documented. Looking for tickets that are “in progress”? Visit the complete support tickets archive