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

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 7 replies, has 2 voices.

Last updated by Andreas W. 1 year, 11 months ago.

Assisted by: Andreas W..

Author Posts
May 15, 2024 at 4:17 pm #15631682

zacharyb

I am attempting to make use of the Media translation plugin. I have a site with a large number of audio transcriptions of content. We are offering these audio transcriptions in various languages. In the Media Translation section I can see how to upload a different file for my different languages. However, when I do this, the file I have uploaded does not then appear in the media library. I can make use of the hooks to query for the different Audio files, but I then have to use the audio file's GUID, rather than its file url. The file url always just gives me the original file, not the translation.

May 16, 2024 at 7:27 am #15633221

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

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

Hello,

It sounds like you discovered an issue between WPML and the plugin "Offload Media".

Are you using this version?
https://wordpress.org/plugins/amazon-s3-and-cloudfront/

Could you please try to recreate the issue on the following test site?

One-Click-Login:
hidden link

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

Best regards
Andreas

May 16, 2024 at 11:29 am #15634746

zacharyb

HI Andreas,
Thanks. yes - that appears to be the issue I'm facing.
I am attempting to use WPML's media translation plugin, to allow content admins to upload several different language versions of audio transcriptions we provide.
We also use WP Offload Media (full version with bronze license) to store these audio transcriptions on Digital Ocean. We have quite a lot of them.

I am then making use of several of WPML's hooks to query for available translations of each audio file, to load the appropriate one based on user prefs.

With WP Offload media disabled I can easily get all translations and url's to each. With WP Offload Media activated, I get identical url's to the original file only.

it looks like the site in the link you provided doesn't have WPML Media Translations installed. I'd need that to recreate the issue. Some version of WP Offload would be helpful as well.
Thanks!

OffloadEnabled.png
OffloadDisabled.png
May 16, 2024 at 11:36 am #15634790

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

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

We can only provide the free version for WP Offload. I have added the plugin now and activated WPML Media Translation.

Let's see if you can recreate using the free version.

I suspect we might need to add some compatibility code into WP Offload for which we will need to cooperation of the plugin's author.

May 16, 2024 at 11:38 am #15634797

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

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

It looks like just the Premium Version of the plugin has support for WPML:
hidden link

Please install the Premium Version of the plugin for testing on our test site.

May 20, 2024 at 3:14 pm #15646668

zacharyb

Hi There, I have installed the premium version of the plugin. I have not been able to recreate the issue, but I think I'll need to hook it up to a bucket and actually offload the test media. Are you able to connect offload media to a test bucket easily?

May 20, 2024 at 4:26 pm #15646929

zacharyb

Hi again,
I went ahead and created a test bucket and test keys and added them to the test site.

May 21, 2024 at 2:43 pm #15651368

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

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

It looks like you had no issue with using Media Translation on my test site, correct?

I ran a test with a post containing an image and I could not confirm any issue.

I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.

You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.

IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may have to install a plugin called "All In One WP Migration" to make a copy of the website where I can investigate the issue further.

However, I would also be very grateful if you could provide a staging site or copy of the website from your server yourself for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Just take note that WPML should be registered on this site again.

If you are unable to provide such a copy of the site for testing, please let me know on this ticket.

The private response form looks like this:
hidden link

Next time you reply, click "I still need assistance."

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.

The topic ‘[Closed] Media Translation not working as expected with WP Offload Media’ is closed to new replies.