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.

This topic contains 5 replies, has 1 voice.

Last updated by Otto 5 days, 11 hours ago.

Assisted by: Otto.

Author Posts
May 13, 2025 at 7:48 pm #17029579

laneS

Background of the issue:
I am trying to convert all pages from English to Spanish and French on my site hidden link. The homepage translation seems to be working, but the subpages are not. The header and footer are static inside the template files, and I am unsure if WPML can convert their language since they are not in WordPress.

Symptoms:
ACF on other languages showing up blank after selecting the language.

Questions:
I am trying to convert all pages from English to Spanish and French on my site hidden link. The homepage translation seems to be working, but the subpages are not. The header and footer are static inside the template files, and I am unsure if WPML can convert their language since they are not in WordPress. I can also provide a username/login for this staging site.

May 14, 2025 at 10:47 am #17031704

Carlos Rojas
WPML Supporter since 03/2017

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

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

Thank you for contacting us.

Before one of my colleagues continue with this ticket I would like to leave some steps to try solving the problem. This issue typically arises from misconfigured translation settings for ACF field groups or individual fields.

Recommended Steps to Resolve the Issue
1.- Verify ACF Field Group Translation Settings
- Navigate to ACF → Field Groups.
- Edit the field group associated with the affected content.
- In the Multilingual Content Setup section, ensure the Translation Option is set to "Same fields across languages".
- Update the field group to apply changes.
Note: Setting the translation option to "Same fields across languages" ensures that the field structure remains consistent across all languages, facilitating proper translation and display.

2.- Configure Individual Field Translation Preferences
- Go to WPML → Settings.
- Scroll to the Custom Fields Translation section.
- Locate each ACF field used in your field group.
- Set the translation preference for each field appropriately:
-- Textual fields (e.g., text, textarea): Set to "Translate".
-- Media fields (e.g., images): Set to "Copy".
-- Repeater or flexible content fields: Set to "Copy".
- Save the changes.
Note: Properly configuring individual field translation preferences ensures that the content is handled correctly during translation processes.

3.- Update and Translate the Default Language Content
- Edit the original content (in the default language) associated with the ACF fields.
- Make a minor change (e.g., add a space) to trigger an update.
- Save the changes.
- Proceed to translate the content using WPML's translation editor.
Note: Updating the default language content ensures that the translation editor recognizes the latest field configurations and content.

4.- Clear WPML Cache
- Navigate to WPML → Support → Troubleshooting.
- Click on "Clear the cache in WPML".
Note: Clearing the cache can resolve issues related to outdated or incorrect data being displayed.

5.- Ensure ACFML Plugin is Installed and Updated
- Confirm that the Advanced Custom Fields Multilingual (ACFML) plugin is installed and activated.
- Ensure that all WPML-related plugins, including ACFML, are updated to their latest versions.

Here is the official guide to translate ACF with WPML: https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/

6.- Please increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

- Add it above the line /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

By following these steps, you should be able to resolve the issue of ACF fields appearing blank on translated pages. If the problem persists after completing these actions, please provide further details, and we will continue to assist you.

May 14, 2025 at 4:26 pm #17033803

laneS

1. Verified Same fields across language
2. Verified all these settings are correct
3. I updated a couple pages and rechecked with same results
4. I cleared the cache
5. Everything is up to date
6. I've bumped it up from 128 to 256M

It doesn't appear that anything has changed and I believe all the settings were correct after going through the steps.

May 15, 2025 at 1:31 pm #17037135

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I apologize for the delay in responding. I will take care of this ticket; the reply time will be shorter now.

Is it possible for you to do this test:
**IMPORTANT:** Please try this in a staging environment or at least with a backup of your site files and database before continuing.
Disable all plugins except ACF and WPML-related and temporarily change the theme to a default WordPress theme such as Twenty Twenty-five.
Is the issue resolved with these settings? If so, please reactivate one by one to see which conflicts.

Best Regards,
Otto

May 15, 2025 at 6:50 pm #17038496

laneS

I finally figured out what the issue is. We have a subpage template that has if statements for each page - about, contact, etc and I guess wpml is looking for the converted language of the page. Once i moved each page to it's own template, that fixed the issue. Thanks for looking into this though.

May 15, 2025 at 6:52 pm #17038500

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Great! I am glad you managed to solve it.

I am closing this ticket then. If you have any other issues, please don't hesitate to open a new one.

Best Regards,
Otto