Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing issues with the Real 3D Flip Book plugin showing English images instead of French on the French site, it might be due to the way translations are handled.
Solution:
Firstly, you should translate the FlipBooks using the WordPress Editor, as detailed here: Using different translation editors for different pages.
Ensure that the translated Flipbook is correctly set in the Elementor Widget options for the Flipbook. Each Flipbook has a unique shortcode in each language, which should be correctly assigned in the widget settings.

The author of the Real 3D FlipBook Plugin is informed and will work on a solution. For developers, adjustments can be made in the plugin files to ensure proper translation handling. In the file

\wp-content\plugins\real3d-flipbook-elementor-addon\widgets\real3d-flipbook.php

, modify the code as follows:

On line 308, replace:

$book_id = $settings['real3d_flipbook_id'];

with:

$book_id = isset($settings['real3d_flipbook_id']) ? $settings['real3d_flipbook_id'] : '';

		// WPML-aware: try to resolve a translated flipbook ID (fallback to post mapping)
		if ( ! empty( $book_id ) && ( class_exists('SitePress')) ) {
			$translated_id = apply_filters( 'wpml_object_id', (int) $book_id, 'real3dflipbook', true );
			if ( empty( $translated_id ) ) {
				$translated_id = apply_filters( 'wpml_object_id', (int) $book_id, 'post', true );
			}
			if ( ! empty( $translated_id ) ) {
				$book_id = $translated_id;
			}
		}

And on line 311, replace:

$book_lightboxthumbnail = !empty($settings['real3d_flipbook_lightboxthumbnail']['url']) ? $settings['real3d_flipbook_lightboxthumbnail']['url'] : '';

with:

$book_lightboxthumbnail = '';
			if ( ! empty( $settings['real3d_flipbook_lightboxthumbnail'] ) ) {
				$thumb = $settings['real3d_flipbook_lightboxthumbnail'];

				// Prefer attachment ID if available (Elementor provides ['id'] and ['url'])
				if ( ! empty( $thumb['id'] ) ) {
					$attachment_id = (int) $thumb['id'];

					// Use WPML to get translated attachment ID if available
					if ( class_exists('SitePress')) {
						$translated_id = apply_filters( 'wpml_object_id', $attachment_id, 'attachment', true );
					} else {
						$translated_id = $attachment_id;
					}

					// If we have a translated ID, get its URL
					if ( ! empty( $translated_id ) ) {
						$translated_url = wp_get_attachment_url( $translated_id );
						if ( $translated_url ) {
							$book_lightboxthumbnail = $translated_url;
						}
					}
				}

				// Fallback to the raw URL provided by Elementor if no attachment URL resolved
				if ( empty( $book_lightboxthumbnail ) && ! empty( $thumb['url'] ) ) {
					$book_lightboxthumbnail = $thumb['url'];
				}
			}

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your 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 further assistance is needed, please open a new support ticket at WPML support forum.

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.

Tagged: 

This topic contains 32 replies, has 0 voices.

Last updated by Anonymous 6 months, 2 weeks ago.

Assisted by: Andreas W..

Author Posts
October 17, 2025 at 5:08 pm #17494839

Anonymous

Here is the WordPress proof!

3D FlipBook_Same version BOUGHT TWICE.JPG
October 17, 2025 at 5:27 pm #17494912

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Your screenshot says the version is 1.2.1.

On the plugin's website, it says the latest version is 3.7.17. Is this maybe a misunderstanding? Please confirm this with the author, and I will be glad to assist further.

Source:
hidden link

There is no issue for us in assisting you to solve this problem. I only need to confirm if the issue persists when using the latest version of this plugin.

Note again that we assist in making the third plugin compatible, but whether a plugin is compatible with WPML or not does not really depend on us. We do our part, but the authors of third-party plugins are usually the ones who need to implement changes to solve such issues.

Each plugin needs to follow WordPress Standards and needs to make use of WPML Hooks to become compatible with WPML, and we are here to assist with such tasks and inform the author about the plugin about how to make their code compatible with WPML.

This is why we need to confirm if the issue persists in the latest version, as otherwise, we have no basis to reach the author.

If you still would like to ask for a refund, please follow this link, but note that refunds are only possible within 30 days after purchasing your WPML subscription:
https://wpml.org/purchase/refunds/

October 17, 2025 at 5:37 pm #17494942

Anonymous

Andreas,

I have confirmed to you that I have the latest VERSIONS of 3D FlipBook PRO.

It was updated to 4.14 AND includes the Add-On Bundles within my subscription.

Can you please help FIX what was not UNFIXED before the CoverFlow coding fix?

Please escalate.

Here are my 3D FlipBook purchase and latest version PROOFS.

Now I just need for WPML to correct the FR image translation for the FR website.

As simple as that!

Can anybody fix that (without unfixing the other image translation coding)?

3D FlipBook_My Subscription and Updates.JPG
3D FlipBook_My WordPress Updates.JPG
October 17, 2025 at 6:30 pm #17495029

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Could you please install the latest version of the plugin and the following test site?

I need the Real3D Flipbook Elementor Addon to be able to assist you.

hidden link.

Leave me a comment once you are done with this task.

I will then try to replicate the issue, try to find a solution, and escalate the issue internally.

October 17, 2025 at 6:35 pm #17495039

Anonymous

I cannot as I only have a license for MY single site.

Can you create a TEMP PAGE on MY site and there?

October 17, 2025 at 6:36 pm #17495040

Anonymous

... and TEST there?

October 17, 2025 at 6:42 pm #17495044

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I will give it a try and then get back to you.

October 17, 2025 at 6:45 pm #17495048

Anonymous

Perfect!

Thank you!

I have done a backl-up already but will resume work on the site in about 2 hrs.

please call your test page clearly so I can recognize it and not touch it 🙂

October 17, 2025 at 9:08 pm #17495302

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

A test page will not be enough - I need to investigate the code of the plugin and try to find a fix. It is not advisable to do this on a live site.

Instead, I will try to take a local copy of the website and then work towards a solution.

It would have been easier if you could have installed the plugin on my test site, without registering it.

October 17, 2025 at 9:14 pm #17495305

Anonymous

Ok. Here is the link to the 2 Zip Files.

hope it will help.

Again, I am not a coder so things that I have never done before SCARES ME.

Thank you for looking into it 🙂

Let me know if they work!

*** LINK REMOVED BY SUPPORT AGENT ***

October 17, 2025 at 11:12 pm #17495347

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Sadly, I can not create any Flipbooks or use the Elementor Addons without a licence key.

I suggest you contact the plugin support and report that you suspect an issue between WPML Media Translation and Real3D Flipbook Elementor Addon.

If they can cooperate on this matter, it would be great if they could register the plugins on the following test site, so that I can try to recreate the issue and find a solution:

One-Click-Login:
hidden link

Make sure to leave me a comment once the plugins are registered.

October 17, 2025 at 11:51 pm #17495351

Anonymous

Ok!

I will forward to info the the creator but it may take a while to get any answers.

Once they reimburse me the 99$USD i will be able to pay for a tech support for that issue>

Thank you Andreas!

please let this ticket OPEN so we can finalize it once I get answers.

OK?

October 18, 2025 at 2:30 am #17495393

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

My apologies, I actually was able to use the widget now, I just did not expect that it requires Elementor PRO.

Also, now I can create Flipbooks.

Please allow me some time to find a solution. I will be working tomorrow.

October 18, 2025 at 2:50 am #17495398

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

REMINDER:
On my test, the Flipbook translation is sadly not working when using the WPML Translation Editor. I will look into this and try to find a solution tomorrow.

For now:
You will need to translate the FlipBooks with the "WordPress Editor":
https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

Next, when using the Flipbook Elementor Widget, you will need to make sure that on the translated page, the translated Flipbook is set inside the widget's options.

Basically, the widget does nothing else than place the shortcode for each Flipbook into Elementor, and each Flipbook has a unique shortcode in each language. If you select a Flipbook inside the widget, you will realize that it is not filtering Flipbooks by language. Instead, you can select from all available Flipbooks on the site and select the one of your choice.

If you translate the page again with the WPML Translation Editor, the widget's Flipbook setting is not overwritten on my test.

The remaining issue is the widget's Custom Thumbnail. I will try to find a solution for this tomorrowtoo.

October 18, 2025 at 3:35 pm #17496042

Anonymous

That finally makes sense, Andreas!

Since I have the FR pdf documents already created, I will just link that to the FR website.

That makes sense since WPML only switches images and text and NOT full documents!