This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing issues with their multilingual site using WPML. In the Latvian version, 'add to cart' and 'checkout' buttons are displayed in English instead of Latvian. In the Russian version, selecting product attributes results in an error, preventing items from being added to the cart. Solution: For the issue with the buttons in Latvian, we recommend checking the translations in WPML's String Translation. If the strings are already translated and the issue persists, ensure that WPML and all related plugins are activated and configured correctly. It might be necessary to deactivate and reactivate WPML and related plugins to refresh the settings. For the Russian attribute selection issue, it appears that the 'Cyr-To-Lat' plugin might be causing a conflict. We suggest deactivating this plugin to see if that resolves the error.
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I am using WPML on my site hidden link, which has two languages: Russian (ru) and Latvian (lv).
Symptoms:
1. In the Latvian language, all 'add to cart' or 'checkout' buttons are in English instead of Latvian. 2. In the Russian language, attribute selection does not work. After choosing an attribute in a product, I get an error: 'Incorrect value attributes'.
Questions:
How can I change the 'add to cart' and 'checkout' buttons to Latvian in the lv language?
How can I fix the attribute selection error in the ru language?
I've translated it to Russian and it works fine on our sandbox site here hidden link . I'm able to add the product into cart. Could you check and see if I've left out anything from my side?
Yes, I see that it works - but we have an error on the luventa.lv website - so what should we do??? We spent credits to translate the site automatically and it doesn't work correctly.
If you don't have a solution to the problem I can only see one way.
Delete all languages (Russian) Latvian is the default standard language and make a new translation.
It wouldn't be bad if you could reset and reinstall the language yourself.
I regret any inconvenience caused, but to proceed with troubleshooting, I kindly ask for a snapshot of the site. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.
To guide you further, please adhere to these instructions:
1. View the Duplicator instructions video: hidden link
3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files.
Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large.
Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site.
I've checked and it looks like the plugin "Cyr-To-Lat" is causing the issue. Could you please try deactivating it and then, try adding the product and see if it works?