Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 18 replies, has 2 voices.

Last updated by Kor 6 months ago.

Assisted by: Kor.

Author Posts
May 30, 2024 at 4:07 pm #15688853

pascalB-17

Background of the issue:
I am using the WPML plugin to manage translations on my WooCommerce site hosted at hidden link. I have added additional fields to the WooCommerce Checkout using a plugin from the Italian company Aruba, and I am trying to translate these fields into multiple languages using WPML's string translation feature.

Symptoms:
While the German and English translations are working correctly, the Italian translation does not appear and the fields remain in English.

Questions:
Why does the Italian translation not appear for the additional checkout fields despite using WPML's string translation feature?
Is there a specific configuration or setting within WPML that I might be missing that is necessary for translating these fields into Italian?

May 30, 2024 at 4:38 pm #15689245

Kor
Supporter

Languages: English (English )

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

Thanks for reaching us.

I've checked your Website and when I try to checkout in the Italian language, I can see two strings not translated as shown in the attached screenshot. Is this what you're referring to? If not, could you please share some screenshots? Or maybe share a screen recording?

Screenshot_148.png
May 31, 2024 at 3:08 pm #15693115

pascalB-17

Hello
Yes you are right.. but depending on your selction in the dropdown it adss more fields to the checkout which leads to more untranlsated content! I did find all the strings in String Translation and did the translations but while the translations apply in german and english it remains in english in the primary language (italian)

Bildschirmfoto 2024-05-31 um 17.07.55.png
Bildschirmfoto 2024-05-31 um 17.07.41.png
Bildschirmfoto 2024-05-31 um 17.07.30.png
May 31, 2024 at 3:30 pm #15693189

pascalB-17

Here's another screenshot showing just that part you are refering to as translated (in every variation) in the string translation.. maybe that helps? I'm in urgend need of help as that webshop should go live tomorrow... sorry and hopefully you can help

Thank you
Pascal

Bildschirmfoto 2024-05-31 um 17.29.11.png
May 31, 2024 at 5:25 pm #15693586

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

June 1, 2024 at 11:46 am #15694565

pascalB-17

Hi again Kor
I don't know if it helps to investigate but I found out that while logged in as admin (working on the site) and previewing the site the italian translation shows.. as soon as I log out or switch browser or use a customer log in it shows in english...

Thank you
Pascal

June 2, 2024 at 7:12 pm #15695873

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

It looks like turning "on" this option "Look for strings while pages are rendered" here hidden link fixes the issue.

I would need a copy of the site to investigate this further. 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.

Screenshot_159.png
June 3, 2024 at 1:55 pm #15698108

Kor
Supporter

Languages: English (English )

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

Thank you for responding.

Could you also provide FTP access here? I need to review your language files to pinpoint any conflicts with the translations on the website.

June 4, 2024 at 4:50 pm #15703533

Kor
Supporter

Languages: English (English )

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

Thank you for your response.

I apologize for the inconvenience. It seems that there's an authentication error (error code 530) when attempting to access the FTP. Could you please verify the credentials?

In the meantime, I've taken the liberty of installing the "File Manager" plugin on your website to facilitate checking the language files. You can now proceed by backing up your WordPress installation and accessing it via FTP. Once logged in, please remove the language files and folders located outside of the WPML folder, as illustrated in the attached screenshot, in bulk.

The problem likely stems from a specific language file, which we'll need to identify manually. If you're still unsure, you can restore the language files you've removed, and provide the correct FTP access details. I'll then investigate the issue further for you.

Screenshot_164.png
June 5, 2024 at 9:00 am #15705772

pascalB-17

Hello Kor

Thank you for your reply.
I checked the ftp credentials and they are correct but I had to allow international connectivity as by default only europe can access the servers...
You can now login using ftp with the credentials you have.

As I'm not sure what you are testing out I'd rather have you do whatever it needs until I know how I can apply it to the live site.

Thank you
Pascal

June 5, 2024 at 4:57 pm #15708230

Kor
Supporter

Languages: English (English )

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

Thank you for responding.

I discovered that the language files in wp-content/languages/plugins/aruba-fatturazione-elettronica-it_IT were conflicting with WPML language files. Therefore, I removed them, and string translation should now function properly. Could you please verify this and get back to me?

June 6, 2024 at 7:21 am #15709442

pascalB-17

Hello Kor

Thank you. I checked but it doesn't make any difference (see screenshots) or am I missing something?

Bildschirmfoto 2024-06-06 um 09.20.13.png
Bildschirmfoto 2024-06-06 um 09.19.31.png
June 6, 2024 at 7:32 am #15709555

Kor
Supporter

Languages: English (English )

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

Thank you for getting back to me.

Have you initiated any synchronization processes recently? I've noticed that the language files I removed have reappeared. However, I've deleted them again for your convenience, and they now display the correct strings, as evidenced in the attached screenshot. Could you please confirm?

Screenshot 2024-06-06 at 3.27.31 PM.jpg
June 7, 2024 at 8:45 am #15714229

pascalB-17

Hello Kor

Thanks for replying.
I didn't do anything so I'm not sure what happendend. But it still shows in english! It seems you are looking at a preview logged in as admin - which (as stated previously) acutally DOES show the correct language but as soon as you are not logged in (as admin) or logged in as customer it's in english again.. very strange
Thank you
Pascal

June 10, 2024 at 7:11 pm #15723685

Kor
Supporter

Languages: English (English )

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

Thank you for getting back to me.

Could you please recheck? I've verified the checkout page using an incognito browser, and I can see the translated strings, as depicted in the attached screenshot.

If this solution still doesn't work for you, then I will need to delete the wp-content/languages/plugins folder. However, this action will necessitate you to retranslate the strings on the checkout page.

Screenshot_208.png

The topic ‘[Closed] Plugin doesn’t use italian translation (but other languages work fine!)’ is closed to new replies.