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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 10 replies, has 0 voices.

Last updated by Prosenjit Barman 1 month ago.

Assisted by: Prosenjit Barman.

Author Posts
December 1, 2024 at 7:26 pm #16463612

lilitD

Background of the issue:
I am trying to translate my WordPress website, which includes ACF fields and multiple pages, using WPML. The site I need help with is hidden link.

Symptoms:
When I duplicate a page, the ACF fields are not being duplicated correctly. I am unable to make my content translatable in other languages.

Questions:
How can I ensure ACF fields are duplicated correctly when duplicating a page?
What steps should I follow to make my content translatable in other languages?
And also I have this issue in screenshot

December 2, 2024 at 8:00 am #16464444

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There!
Thanks for contacting WPML Support.

I understand the issue you're facing. The reason the ACF fields aren't duplicating is due to the error shown in the screenshot you provided. Currently, the translation preference for the ACF field group post type is set to "Translatable," which is not recommended.

With this setting, you'd need to translate the field group, assign the fields there, and then link the translated field group for the translation — a tedious and unnecessary process. Instead, it's better not to set the field group as translatable. If you want to translate the field group text, you can do that using the String Translation feature, simplifying the process significantly.

Please navigate to WPML > Settings and scroll down to the Post Type Translation section. Locate the ACF Field Group (acf-field-group) post type and set its translation preference to "Not Translatable". Save the changes.

Once done, try to create a translation by duplicating another page. The field contents should also be duplicated after the changes.

I’d also like to mention that since you’re using ACF, ensure that the ACF Multilingual plugin is installed and active on your site. Verify that the translation option for the field group is configured correctly. For a better understanding of the process, please refer to the guide linked below.

- https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/

I hope the information above will help. Please feel free to let me know if you need further assistance or clarification in this matter. I'll be happy to help.

Best regards,
Prosenjit

December 2, 2024 at 8:56 am #16464666

lilitD

Dear Prosenjit,

Thank you for your detailed response and suggestions. I understand the recommendation to set the ACF Field Group as "Not Translatable" and use the String Translation feature for translating the text. However, this approach does not address my specific requirements.

The issue I am facing is that most of the ACF content on my site does not appear in the String Translation feature, making it impossible to translate the content effectively. For this reason, I need the ACF fields to be duplicated along with the pages to ensure the field values are correctly carried over and translatable in the duplicated pages.

I have already ensured that the ACF Multilingual plugin is installed and active, and the translation option for the field group is configured as suggested. Unfortunately, the problem persists.

Additionally, I’d like to mention that my website is a multisite setup. I want to continue using WPML in this multisite environment and ensure that it works seamlessly across all subsites. Could you also guide me on the best practices or steps required to configure WPML for a multisite setup?

I appreciate your support and guidance on both these matters. Please let me know if you need further details or access to my site to troubleshoot.

Thank you for your assistance!

Screenshot_13.png
Screenshot_12.png
December 3, 2024 at 3:58 am #16469221

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There!
Thank you for the update.

Please note that ACF field data should be translated directly within the translation editor while translating the page or post that contains the field. It is not necessary to translate the field data using String Translation. Only the Field Label or options for fields like Radio fields need to be translated through String Translation. However, to ensure the ACF fields are available for translation in the translation editor, the translation option for the field group either must be set to "Same Field Across Languages" or "Expert". if it is set to "Expert", the translation preference for each custom field needs to be set to "Translatable".

In your case, the fields are not appearing after duplicating the page because the field groups were translated, and the translation option for the field group was set to "Different fields across languages." Please follow these steps to adjust the settings and check if this resolves the issue.

- Please make sure that the latest version of ACF and ACF Multilingual plugin is installed on your site.
- As mentioned in the last message, please make sure to set the Translation preference for the field group post type to "Not Translatable"
- Once done, open the field group and change the Translation option to "Same field across languages".
- Ensure that the 'hidden link">Location rules' for the field group is set correctly.
- Save the changes.

Once completed, open a page that has not been translated yet. Create the translation by duplicating the page (as explained in this guide) and verify if the translation includes the fields with their data.

Please try these steps and I hope it will help!

Regarding your query about using WPML in a multisite setup: WPML fully supports multisite installations. You can use it across your entire network or on individual subsites. Simply activate the site key for each subsite where you want to use WPML and enable the plugin using that key. That’s it! No additional configuration is needed to use WPML in a multisite environment. For more details, please refer to the guide below.

- https://wpml.org/documentation/support/multisite-support/

Feel free to let me know if you need further assistance in this matter. I'll be happy to help.

Best regards,
Prosenjit

December 7, 2024 at 11:06 am #16488253

lilitD

Dear WPML Support Team,

I wanted to provide an update regarding my previous support request about ACF fields duplication and setting up WPML on a multisite.

I have created a development site for testing purposes and updated ACF Pro to the latest version. I still need to make some adjustments to my website before installing WPML and conducting further testing.

At this stage, I cannot confirm that the issue has been resolved, as I haven't fully tested the setup with WPML yet. I will provide additional feedback once the necessary changes are made, and testing is completed.

Thank you for your continued support!

Best regards,
Lilit

December 9, 2024 at 4:59 am #16490905

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Lilit,
I hope you're doing well.

Thank you for the update. Please continue with your test on your development site and let us know your findings in the next response. If you need further assistance in this matter, I'll be happy to help.

Best regards,
Prosenjit

December 9, 2024 at 1:05 pm #16492989

lilitD

Dear Prosenjit,

Thank you for your previous response. I have a question regarding translating ACF content. I’ve attached a screenshot showing how the ACF content is currently displayed on my site.

Will I be able to translate this content using WPML as shown in the screenshot? Please let me know if additional configuration is needed or if this setup should work with WPML.

Thank you for your assistance!

Best regards,
Lilit

Screenshot_22.png
December 10, 2024 at 5:47 am #16495862

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi Lilit,
Thank you for the update.

If the translation preference for the field is set correctly, you should be able to translate the content using the translation editor. However, I noticed that the text is placed within a table inside the WYSIWYG editor. To see the same formatting in the translation, you'll need to make the same table structure and formatting during the translation process.

In the translation editor, you will see an HTML marker that allows you to apply the same formatting, as shown in this screenshot: hidden link. Simply place the cursor or select the text, then click on the marker to apply the formatting. This ensures that the text in the translation appears in the same format.

I hope it clarifies your query. Feel free to let me know if you need further assistance or clarification. I'll be happy to help.

Best regards,
Prosenjit

December 23, 2024 at 1:03 pm #16540387
lilitD

Hello,

I need your help. I am unable to activate WPML on my development website. Could you please assist me in resolving this issue?

Thank you in advance for your support.

New threads created by Prosenjit Barman and linked to this one are listed below:

https://wpml.org/forums/topic/split-help-needed-with-registering-the-dev-site/

Screenshot_4.png
Screenshot_3.png
December 23, 2024 at 7:34 pm #16541716

lilitD

The WPML plugin is currently disabled on my live site, as I’m still working on my development site. Once I finish the work, I plan to move the development site to the live environment.

I’ve already registered my live domain in WPML, but I need to make all the translations on the development site first. However, I’m unable to do so. Could you please assist me in resolving this issue?

Screenshot_6.png
Screenshot_5.png
December 24, 2024 at 4:15 am #16542304

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There!
Thank you for the update.

I understand the issue and would be happy to assist you with it. However, please note that as per our support policy, we are only able to address one issue per ticket. Since the issue mentioned in your last response is different from the primary issue in this ticket, I have created a new ticket to address it separately. You will receive a response to that ticket shortly.

If you need further assistance or clarification regarding the primary issue in this ticket, please feel free to let me know — I’ll be happy to help!

Best regards,
Prosenjit

The topic ‘[Closed] Help Needed with Translating My WordPress Website ACF fields’ is closed to new replies.