Skip Navigation

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.

This topic contains 9 replies, has 2 voices.

Last updated by Kor 11 months, 1 week ago.

Assisted by: Kor.

Author Posts
July 15, 2024 at 6:56 pm #15956309

ingaA-2

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?

July 15, 2024 at 8:22 pm #15956734

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

Here is the sandbox site and you can use this link to login hidden link

Feel free to install the required plugin or theme to replicate the issue.

July 18, 2024 at 2:35 pm #15973199

ingaA-2

Hello - am rdy add a product and all plugin in sandbox site. But i use auto translate in WPML

You can check now

July 18, 2024 at 2:43 pm #15973219

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

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?

July 21, 2024 at 6:59 am #15982773

ingaA-2

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.

July 21, 2024 at 3:43 pm #15983472

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

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

2. Consult WPML's instructions on providing supporters with a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/

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.

July 22, 2024 at 4:38 pm #15988050

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for your response.

I now have a copy of the site and will investigate the issue further. I'll get back to you as soon as possible.

July 23, 2024 at 7:25 pm #15994227

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

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?

July 24, 2024 at 7:49 pm #16000124

ingaA-2

yea - am swich off and now it's work good
hidden link

July 24, 2024 at 7:51 pm #16000131

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Good to know. Please mark this ticket as resolved.