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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Asia/Yerevan (GMT+04:00)

Tagged: 

This topic contains 7 replies, has 2 voices.

Last updated by Christopher Amirian 1 year, 4 months ago.

Assisted by: Christopher Amirian.

Author Posts
February 13, 2024 at 8:07 am

yiannosM

The navigation menu in the Greek language appears expanded.

February 13, 2024 at 9:01 am
February 13, 2024 at 9:06 am #15296125

yiannosM

I forgot to mention, that if i change the theme to "Twenty Twenty-Four", the menu seems to be working.

February 13, 2024 at 2:56 pm #15298206

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there.

Thank you for informing that. The issue has already reported to the compatibility team.

Just to make sure we are on the same page it might take time to get an answer.

I will update you here if I have news.

Thanks.

February 14, 2024 at 1:23 pm #15302553

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

The compatibility team asked me to replicate the issue on a clean installation to know if this is a core issue with a compatibility with OceanWP and WPML or it is isolated for your website.

I created a clean installation of WordPress and WPML in English and Greek.

I also installed Elementor and Elementor Pro.

You can access the dashboard here:

hidden link

Please follow the steps below:

- Install OceanWP
- Add a pop up in Elementor
- Use the WordPress Menu element there to create the menu.
- See if the same thing happens like your website.

Depending on the result of the test I will be able to follow up with correct path.

Thanks.

February 15, 2024 at 2:00 pm #15307618

yiannosM

I added 4 pages and a created a menu.

I copied/pasted the popup and navigation header.

In English (hidden link ) it appears "OK", and again in greek it is not (hidden link)

February 15, 2024 at 3:30 pm #15308390

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Thank you, the matter is reported to the compatibility team.

February 16, 2024 at 7:41 am #15310238

yiannosM

Just to be sure, you are working on the sandbox and not on the actual website? I need to make adjustments to the website.

Also in the website i will try to re-do the menus from scratch, and see if the issue appears again.

February 17, 2024 at 9:31 am #15313526

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Yes, we are working on Sandbox and not your website.

We have a workaround that we will need you to test and see if it works ok for you.

Please go to the file below:

wp-content/plugins/elementor-pro/modules/popup/tag.php

Change this code:

	public function render() {
		$settings = $this->get_active_settings();

		if ( 'close' === $settings['action'] ) {
			$this->print_close_popup_link( $settings );

			return;
		}

		$this->print_open_popup_link( $settings );
	}

To:


	public function render() {
		$settings = $this->get_active_settings();

		if ( 'close' === $settings['action'] ) {
			$this->print_close_popup_link( $settings );

			return;
		}

		// WPML Workaround for compsupp-7039
		if ( class_exists('Sitepress') && isset($settings['popup']) ) {
			$settings['popup'] = apply_filters( 'wpml_object_id', $settings['popup'], get_post_type($settings['popup']) , TRUE  );
		}

		$this->print_open_popup_link( $settings );
	}

It fixed the issue in Sandbox installation. Please test if it works for you.

Another alternative solution is to use manual Translation for the POP up which is like this:

https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

Thanks.

The topic ‘[Closed] The navigation menu in the Greek language appears expanded.’ is closed to new replies.