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

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

This topic contains 38 replies, has 4 voices.

Last updated by Marcel 1 month, 1 week ago.

Assisted by: Marcel.

Author Posts
May 18, 2026 at 3:03 pm #18043581

kathleenV

Okay,

I adjusted the file ' see attachment"

I adjusted all the translations, but again with no luck...
This is getting really urgent now. My client is not amused.

Please let me know If there's a solution available?

Kind regards

Kathleen

Scherm­afbeelding 2026-05-18 om 16.35.44.png
May 18, 2026 at 3:09 pm #18043612

kathleenV

Are you located in Olst/the Netherlands?

May 18, 2026 at 3:31 pm #18043797

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for the update. I am from Nepal.

I checked the URL below and the page appears to be working correctly on my side as well:

Product page: hidden link

Could you please share the exact link where you are seeing the issue or incorrect results? This will help us investigate it further.

Thanks

May 18, 2026 at 4:01 pm #18043870

kathleenV

Do you need the screenshots again? they are the same as the one I shared before...

May 18, 2026 at 4:05 pm #18043904

kathleenV

I mean these screenshots

Scherm­afbeelding 2026-05-18 om 18.04.11.png
Scherm­afbeelding 2026-05-18 om 18.04.23.png
May 18, 2026 at 4:09 pm #18043936

Shekhar Bhandari
Supporter

Hello there,

Can you check this video once, it's working for me, can you clear the cache and try again? hidden link

Thanks

May 18, 2026 at 4:14 pm #18043959

kathleenV

I looked at the video and took some screenshots of the video with the errors marked in red. See attachment.

Scherm­afbeelding 2026-05-18 om 18.10.34.png
Scherm­afbeelding 2026-05-18 om 18.12.11.png
May 19, 2026 at 5:06 pm #18046762

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback and for providing screenshots.

Shekhar is currently unavailable. Meanwhile, I want to confirm if you adjusted translations after patching the file.

Please update your WPML plugin and add-ons to version 4.9.4 to access the latest bug fixes and improvements. While this might not fix your issue, working with the newest code is essential for effective troubleshooting.

You can find the latest versions under "My Account -> Downloads" on this site. Instructions for updating are available here: http://wpml.org/faq/install-wpml/

If updates aren't visible, try clicking the "Check for updates" button in Plugins → Add New Plugin → Commercial tab.

Remember to back up your database before proceeding.

May 20, 2026 at 9:25 am #18047936

kathleenV

Hi Andrey

I installed the 4.9.4 but the issue still remains..

Kind regards

Kathleen

May 21, 2026 at 7:51 am #18050258

kathleenV

Hi Andrey

Is there any news?

I would like to inform you that a first ticket was made about this issue the April, 9: 17958175
I have a lot of patience but I really need to solve this issue, because my client is getting really angry... 🥹

Please let me know if there's a solution possible?

Kind regards

Kathleen

May 21, 2026 at 11:49 am #18051431

Andrey
Supporter

Hello Kathleen,

Thank you for your feedback.

I will take a deeper look into the issue and let you know as soon as I have more information.

May 21, 2026 at 12:41 pm #18051624

kathleenV

Hello Andrey

thank you! I appreciate it!

Kind regards

Kathleen Verhelle

May 21, 2026 at 3:05 pm #18052118

Andrey
Supporter

I appreciate your patience.

I have looked into this, and it turned out to be a known issue under specific circumstances planned for one of the future releases (might be in WCML 5.6.0).

I have done the following to make the label appear in the translated product:

1. Replaced in \WPML_Autoregister_Save_Strings::get_source_lang in wp-content/plugins/wpml-string-translation/classes/filters/autoregister/class-wpml-autoregister-save-strings.php:

	public function get_source_lang( $name, $domain ) {
		$domain_lang = $this->lang_of_domain->get_language( $domain );

		if ( ! $domain_lang ) {
			$flag = 0 === strpos( $domain, 'admin_texts_' )
					|| WPML_ST_Blog_Name_And_Description_Hooks::is_string( $name );

			$domain_lang = $flag ? $this->sitepress->get_user_admin_language( get_current_user_id() ) : 'en';
		}

		return $domain_lang;
	}

to

public function get_source_lang( $name, $domain ) {
		$domain_lang = $this->lang_of_domain->get_language( $domain );

		if ( ! $domain_lang ) {
			$flag = 0 === strpos( $domain, 'admin_texts_' )
					|| WPML_ST_Blog_Name_And_Description_Hooks::is_string( $name );

			$domain_lang = $flag ? $this->sitepress->get_user_admin_language( get_current_user_id() ) : apply_filters('wpml_default_language', NULL );
		}

		return $domain_lang;
	}

2. Replaced in wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-strings.php, line 43

	public function add_hooks() {

		add_action( 'init', [ $this, 'add_on_init_hooks' ] );

		// Needs to run before WC registers taxonomies on init priority 5.
		foreach ( wc_get_attribute_taxonomies() as $tax ) {
			add_filter(
				'woocommerce_taxonomy_args_' . wc_attribute_taxonomy_name( $tax->attribute_name ),
				function ( $args ) use ( $tax ) {
					return $this->translate_attribute_labels( $args, $tax->attribute_label );
				}
			);
		}
	}

to

public function add_hooks() {

		add_action( 'init', [ $this, 'add_on_init_hooks' ] );

		// Needs to run before WC registers taxonomies on init priority 5.
		foreach ( wc_get_attribute_taxonomies() as $tax ) {
			add_filter(
				'woocommerce_taxonomy_args_' . wc_attribute_taxonomy_name( $tax->attribute_name ),
				function ( $args ) use ( $tax ) {
if ( !isset( $_POST["action"] ) || ( $_POST["action"] != "wpml_get_terms_and_labels_for_taxonomy_table" && $_POST["action"] != "wpml_tt_save_labels_translation" ) ) {
	                    return $this->translate_attribute_labels( $args, $tax->attribute_label );
                    } else {
                        return $args;
                    }
				}
			);
		}
	}

3. Went to WPML → String Translation, find the label Halogen-free, and delete it. I have also searched for Halogeenvrij for the same attribute name, as it was registered twice.

4. Translated it from WPML → Taxonomy Translations

I have attached the screenshots for your review.

Please note that this is a temporary workaround and will be lost after the plugin is updated. I recommend saving the code in a safe place so you can reapply it after updating WPML String Translation and WCML.

Our developers are already investigating this issue and considering a permanent fix in one of the future releases.

Screenshot 2026-05-21 at 17.50.09.png
RZ1-AS-AL-Energiekabel-1-x-240mm²-LSZH-0-6-1kV-•-Athilex.png
RZ1-AS-AL-Câble-d-alimentation-1-x-240mm²-LSZH-0-6-1kV-•-Athilex.png
May 26, 2026 at 9:07 am #18059973

kathleenV

Hi Andrey

The problem is solved, indeed!
I'm very happy with this solution.
I saved the code to make sure I can replace after an update.

So every time I update WPML I add this code , but do I need to update the translations again after the update?

Kind regards

Kathleen

May 26, 2026 at 11:53 am #18060758

Andrey
Supporter

I am glad to hear that it is working for you as well.

No need to update the translations, but please take a note and add the workaround right after the update until the issue is resolved.