Skip to content Skip to sidebar

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

Problem:
When translating a website to Spanish, certain media items such as logos and social media icons disappear on the translated pages. The logo, added via a custom field from an ACF options page, does not appear in the Spanish version. Additionally, the media library shows no items when switched to Spanish, and an error message 'Sorry, you are not allowed to access this page' appears when trying to access the Spanish version of the Options page.
Solution:
1. Ensure the ACF options page is translated. Go to the options page, switch to Spanish from the top admin bar, and either upload/select the logo for Spanish or re-save the options page if the field is set to Copy. More information can be found here: https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/#acf-options-pages
2. Set ACF field groups to not translatable as they can cause issues if set otherwise. Details on this setup are explained here: https://wpml.org/errata/advanced-custom-fields-field-group-should-be-set-as-not-translatable/
3. Disable any role/restriction plugins and create a standard WordPress administrator user to resolve access issues.
4. Disable the 'Happy Files' plugin which causes the media library to appear empty in the secondary language. Run the Media Translation manual sync from WPML → Settings → Media.

If these steps do not resolve your issue, or if the solution seems outdated or not applicable to your case, we recommend opening a new support ticket. We also 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. For further assistance, please visit our support forum at https://wpml.org/forums/forum/english-support/.

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 9 replies, has 0 voices.

Last updated by edC-8 1 week, 5 days ago.

Assisted by: Dražen.

Author Posts
March 23, 2026 at 9:13 pm #17919906

edC-8

Hi,

When translating to Spanish, certain media items (logo, social media icons, etc.) are disappearing on the translated pages.

We've tried following the following documentation, but do not see the image displayed in the Advanced Translation Editor:

hidden link

March 25, 2026 at 7:37 am #17924661

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Thank you for your message.

Could you please share a few example URLs where the issue can be seen?

Additionally, please go to Media → Library, switch the language from the top admin bar, and make sure that the images exist in the secondary language as well.

Let me know what you find and we’ll continue from there.

Regards,
Dražen

March 26, 2026 at 6:45 pm #17930480

edC-8

Hi, here is the link to the site on staging: hidden link

You'll notice that the logo in the top left disappears when switching the language to Spanish.

Also, upon switching the language in the Media Library, roughly 75% of the media items don't translate to Spanish. Please let me know how we can fix this, as this seems like it's the issue.

March 27, 2026 at 6:02 am #17930833

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Thanks for sharing the staging site.

Let’s first check the logo issue. Could you please clarify how the logo was added in the default language? For example, are you using a header template or was it added via theme options?

This will help determine why it disappears in Spanish.

Best regards,
Dražen

March 27, 2026 at 4:12 pm #17932988

edC-8

We're using the Bricks Builder theme, and have a header template set up. Then we are inserting the logo via a custom field from an ACF options page.

Also, there are 0 media items in the media library when switching to the Spanish language.

If it speeds things up, I can provide you with access to the staging site. Let me know the best way to get you these credentials.

March 30, 2026 at 5:26 am #17935089

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Thanks for the details, that helps.

Since you’re using a header template with the logo coming from an ACF options page, you’ll also need to make sure the options page is translated.

Please try the following:

- Go to the options page
- Switch to the secondary language (Spanish) from the top admin bar
- Either upload/select the logo for Spanish, or simply re-save the options page (if the field is set to Copy)

This should make the logo appear correctly in the translated header.

More info here:
https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/#acf-options-pages

If the issue still persists, feel free to share staging access (via private reply) and I’ll check it directly.

Best regards,
Dražen

March 30, 2026 at 7:41 pm #17937882

edC-8

I tried going to the "Spanish" version of the Options page, but was met with the following error:

"Sorry, you are not allowed to access this page."

Here is a one-click login link for admin access to staging:

hidden link

March 31, 2026 at 5:54 am #17938265

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Thanks for the access.

First, I can see that ACF field groups are set as translatable, which is not the correct setup and can cause issues. They should be set to not translatable as explained here:
https://wpml.org/errata/advanced-custom-fields-field-group-should-be-set-as-not-translatable/

Regarding the “Sorry, you are not allowed to access this page” message, this is not coming from WPML. It is related to user roles/permissions on your site, likely due to a roles or temporary access plugin.

It seems the current user does not have all required capabilities to access the options page.

I recommend temporarily disabling any role/restriction plugins and creating a standard WordPress administrator user, then trying again with that account.

Let me know once done and if you still have issue.

Best regards,
Dražen

April 1, 2026 at 8:35 pm #17944442

edC-8

I see that ACF field groups is now set to "not translatable".

I also am now able to access the Spanish version of the options page. It shows the image is there. However the logo is still not dispalying in the header on the frontend.

hidden link

Notice in the following screenshot how there are no media items on the Spanish version. I think this is the issue and reason why the media items are not displaying on the Spanish version of the pages.

hidden link

April 2, 2026 at 6:15 am #17944837

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Thanks for the update and screenshots.

I checked your setup and the issue with media not showing in the secondary language is caused by the “Happy Files” plugin. It seems to return an empty media library for the second language.

When I disabled the plugin, the media appeared correctly. I also ran the Media Translation manual sync from WPML → Settings → Media, and after that everything worked as expected.

- hidden link

Please note that this plugin is not officially compatible with WPML, so issues like this can occur. I would recommend reaching out to the plugin author and reporting this. If they are open to it, our compatibility team would be glad to work and collaborate with them.

Best regards,
Dražen

April 6, 2026 at 6:45 pm #17952178

edC-8

Hi,

I believe everything is sorted now.

Appreciate all of your help.