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 sachaJ 3 weeks, 2 days ago.

Assisted by: Andreas W..

Author Posts
October 16, 2025 at 7:16 am #17488882

sachaJ

HI Andreas,

I just noticed that the 3D Flip Book Plug in is now showing the EN images instead of the FR ones on the FR site.

Can you please adjust as well?

Here are the image proofs.

October 16, 2025 at 7:19 am #17488888

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

Hello,

I suppose you refer to this plugin?
https://wordpress.org/plugins/interactive-3d-flipbook-powered-physics-engine/

I am about to try to replicate this issue on a new test site and will then get back to you.

Best regards
Andreas

October 16, 2025 at 7:31 am #17488921

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

So far, I can not confirm an issue on my test site.

Could you please try to recreate the issue here?

One-Click-Login:
hidden link

Note that the flipbook translation is not working to 100% using only the WPML Translation Editor. I needed to create each book manually on the WordPress Editor and also make sure to place each shortcode manually on each page to display the books

October 16, 2025 at 5:05 pm #17491876

sachaJ

Ok, I don't want you to recreate anything NOR I.

Yo0u still have admin access, so can you see what I am seeing on the FR website?

Only on the FR website (which WPML created) that is shown.

P.S. Before you fixed the CoverFlow widget, the 3D Flip was perfect and not changed.

Could one of the coding have affected the 3D Flipbook?

Can you review the coding you corrected?

I think it is in there.

October 16, 2025 at 5:36 pm #17491965

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

It looks like I have been testing with a different FlipBook plugin, and your FlipBooks are currently not translated.

You only have original, English Flipbooks.

You need to go to WPML > Settings > Post Types Translation and set "Real3D Flipbook (r3d)" to be translatable.

After that, you will need to translate the FlipBooks.

You can not display other images in second languages if those FlipBooks are not translated.

October 16, 2025 at 5:42 pm #17491972

sachaJ

Oh sorry, I think I misspoke.

The issue is the Flip Book images, as per my attached images. They are showing the EN image Translate instead of the FR image Translate within my FR translated pages.

It is the Image Translate that has shown how switched when the CoverFlow coding was adjusted.

Is that clearer?

Do you see it? The image is to follow the language (just like in the CoverFlow)

3D FlipBook Plug in.JPG
3D FlipBook Plug in_2.JPG
October 16, 2025 at 5:48 pm #17492012

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

This might be expected if the FlipBooks are not translated. I will take a closer look.

October 16, 2025 at 6:02 pm #17492023

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

Do you mean, for example, this page?
hidden link

This issue is not related to the changes we took, as the problem remains if I undo the changes, that were taken inside the plugin "Unlimited Elements for Elementor (Premium)".

You refer to the Featured Images of those pages, correct?

October 16, 2025 at 6:11 pm #17492043

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

This seems to be an issue with the Custom Elementor Widget "Real3D Flipbook".

I will try to replicate the issue on my test site and then get back to you.

October 16, 2025 at 6:41 pm #17492119

sachaJ

OK, Perfect!

I will need be offline now until tonight but we can resume our conversations tomorrow.

THANK YOU SO MUCH!!!

October 16, 2025 at 6:46 pm #17492124

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

You are using:
Real3D Flipbook Elementor Addon 1.2.1

The latest version is 3.7.17:
hidden link

I suggest you first check for a plugin update and then test if the issue persists.

If the issue persists after updating the plugin, install the latest version of the plugin on my earlier provided test site, and I will try to replicate the issue and propose a solution.

October 17, 2025 at 12:22 pm #17494021

sachaJ

HI Andreas,

I have Automatic Updates and the latest version of 3DFlip Book is 4.14.
(See images attached)

It also includes AUTIOMATIC update of the Add-on Bundles I have purchased (see image attached as well).

It wasn't doing that before the CoverFlow Fix. Can you please look into what could have been changed in the fixed coding.

Again I am only focusing on my Image Translation (since the CoverFlow shows all the translation images, it is something else that happened in the fix)

Answers on PRO and Add-On Updates.JPG
Real 3D FlipBook_Versions.JPG
October 17, 2025 at 3:39 pm #17494707

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

It has nothing to do with the fix that was implemented into "Unlimited Elements for Elementor (Premium)", as if you disable this plugin, the issue will still occur.

Please revise my last comment again. I am referring to:

Real3D Flipbook Elementor Addon 1.2.1

The latest version is 3.7.17 (See Changelog at the bottom of the page):
hidden link

October 17, 2025 at 4:52 pm #17494790

sachaJ

OK!

I will contact them and look into it!

thank you for EVERYTHING Andreas!!

HAVE A GREAT WEEK-END! 🙂

October 17, 2025 at 5:06 pm #17494796

sachaJ

CORRECTION!

Andreas, You made me purchase the SAME VERSION OF BUNDLE THAT I ALREADY HAVE!

It is costing me 99$ USD, and now I am trying to get a full refund!!

Basically, can you please see how my image translated on the FR website page is not taking the image version?

Please escalate to someone else as you may not know BUT someone else may?

I cannot have 2 costly problems today!

Please escalate so I can get this problem solved.

Answers on PRO and Add-On Updates.JPG
3D FlipBook Plug in.JPG
3D FlipBook Plug in_2.JPG