Skip to content Skip to sidebar

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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Supporter timezone: Europe/Zagreb (GMT+02:00)

This topic contains 10 replies, has 2 voices.

Last updated by Dražen 1 year, 5 months ago.

Assisted by: Dražen.

Author Posts
March 11, 2024 at 9:29 am #15393794

danielB-263

I have attached images of the issue; I think it's visible. The unit "kg" is incorrect in the original language. I searched through the strings to see where it might be possible to modify this, but for some reason, in the single_attribute module, it places the unit "kg" in front of the numbers in the original text, and I can't figure out why.

module.png
eng_product.png
hun_product.png
March 11, 2024 at 9:33 am #15393901

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks for contacting us.

I can share more info on how to translate and if possible, but would need more information on how was this created in the original language.

Are these some custom fields, how are you adding this weight value for original products?

Let me know.

Thanks,
Drazen

March 11, 2024 at 10:46 am #15394296

danielB-263

Hello,

This is a basic woocommerce field, I attached a picture.
Tömeg = Weight

hu_kg.png
March 11, 2024 at 12:00 pm #15394774

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks.

Go to WPML > String translation from the bottom page and enable "Look for strings while pages are rendered". Visit the product in front, and refresh. Go to the backend and search for kg, translate.

Regards,
Drazen

Screenshot_1.jpg
March 11, 2024 at 4:04 pm #15396515

danielB-263

This is already translated, but it's not working.

kg_translated.png
March 11, 2024 at 4:09 pm #15396552

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

maybe that is how it is shown in the Hungary language, as standard for the language and it is implemented by WordPress / WooCommerce.

Can you please check, disable WPML plugins, and check if it still happens like that when not using WPML and HU is set as the default language from WordPress settings.

Please make a backup before proceeding.

Let me know.

Thanks,
Drazen

March 11, 2024 at 4:19 pm #15396601

danielB-263

I turned it off, now it's fine so something happens with the translation

withoutwpml.png
March 12, 2024 at 7:22 am #15397840

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

okay, let me check.

Please make a full backup of your site (files and database) and confirm it in your next reply.
If possible please provide access to the staging website, not production.

Please note, that I might need to do some debugging procedures like enable/disable plugins, switch themes, change the default language of the user account, and/or access your website database to debug the issue furtherly.

I will share with you any changes or steps done in this process. Please let me know if you do not agree with the above or if I do not have your permission for any.

I would need to access both your site's wp-admin and FTP account, if possible.

I have enabled the private username and password fields in your next reply.

I suggest you create a new user, set it as an administrator and then add those credentials in the private fields mentioned.

You can safely add your information into these fields.

Regards,
Drazen

March 12, 2024 at 12:22 pm #15399383

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

can you please re-check FTP and make sure it works, I can not connect.

Also please check if the issue still happens when using the WP default theme and only WPML plugins and WooCommerce are active, all other disabled. I think this is being caused in combination with some other code/plugin.

Let me know.

Thanks,
Drazen

March 12, 2024 at 2:07 pm #15399928

danielB-263

I attached a picture for my totalcommander, ftp is working fine for me.
For the part where the translation doesn't work is an elementor module: elementor-jet-single-attributes jet-woo-builder
So if I turn off these, that is not a solution

March 12, 2024 at 2:29 pm #15400023

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks I was able to check and see the issue happening when using a template from JetWooBuilder. Please note this plugin is not officially compatible so some issue may happen:
- https://wpml.org/plugin/

We will be glad to help further and check but note we might need to contact the plugin author for further collaboration.

I created a minimal installation of WordPress, WPML, and all necessary WPML add-ons.

You can access the WordPress dashboard using the link below:
- hidden link

Kindly follow the steps below:
- Set up JetWooBuilder
- Create some simple template
- Try to replicate the issue.
- Share with me step by step guide on how can I check the issue

This will help us to report the probable issue to the compatibility team and solve the possible problem faster.

Regards,
Drazen

The topic ‘[Closed] Translation of weight data’ is closed to new replies.