Skip Navigation

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

Problem:
The client is trying to translate the labels of an ACF Checkbox field in a multisite environment. The ACF field groups live in the main site and should get translated to a child site in the multisite network.
Solution:
We clarified that connecting two different sites within a multisite network using WPML is not possible, as each site in a multisite has its own WPML settings and operates independently. Therefore, the client cannot use the main site's ACF field set translations on a child site.
Documentation for Multisites running WPML:
https://wpml.org/documentation/support/multisite-support/
If this solution does not seem relevant to your issue, please open a new support ticket with us.

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 12 replies, has 2 voices.

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

Assisted by: Andreas W..

Author Posts
November 10, 2023 at 2:48 pm #14778081

johnM-108

At the bottom of this page, there is an unordered list under "Divisions":
hidden link

This data is coming from an ACF Checkbox field with multiple choices (see attachment). I need the Return Value for this field to remain "Both (Array)" because is use both pieces of information in the front end templating.

I want to translate the Label portion and I've done some work on this, but it doesn't appear to be returning the translated labels on the front end.

This is what I've done:
1. Admin > WPML > Settings > Custom Fields Translation section: I've set the "team_division" custom field to "Translate". (NOTE: I did this for both the main and child site.)
2. Admin > WPML > String translation: I've manually translated these labels in "acf-field-group-69"

When I view a Dutch version of a team member, these division labels are not being translated:
hidden link

NOTE: This is a multisite environment. The ACF field groups live in the main site and what you're viewing here is a child site with translations. As noted above in step 1, I set both sites to translate the field set, but String translation is only available on the main site as the child site is using the main site's ACF field set in this case via the local /acf-json/ method.

string-translations.png
acf-divisions-settings.png
November 10, 2023 at 10:34 pm #14780625

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

Do I understand right that you are trying to connect two different sites in your multisite network with WPML?

If so, then please take note, that this is not possible. Each site in a multisite has its own WPML settings and runs independently.

Best regards
Andreas

November 13, 2023 at 1:56 pm #14789711

johnM-108

Andreas,

Okay, please, don't close this ticket, just yet. I want to try a few things first. Thank you, I'll get back to you.

November 14, 2023 at 6:30 pm #14801559

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

Yes, sure - the ticket will remain open for at least 14 days.

If you need any further assistance I will be glad to help and I can also offer to have a look at the site as an admin user.

Best regards
Andreas

November 16, 2023 at 6:41 pm #14830035

johnM-108

I cannot test this out until I get an issue related to multisite in a development environment figured-out as I can't do this on my live site. I'm having trouble figuring out how to open a new ticket for this issue. WPML support keeps sending me in circles.

November 16, 2023 at 8:19 pm #14830641

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

If you can provide me access to the live site, then I can take a copy with the plugin "All In One WP Migration" and debug the issue on localhost.

But first of all, I would simply review the current configuration to see if there is maybe an 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.

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.

Best regards
Andreas

November 17, 2023 at 2:54 pm #14864131

johnM-108

Another supporter has taken on helping me with my multisite configurations. Should I wait for that to be resolved before proceeding with you? I wouldn't want anyone stepping on another's toes.

November 17, 2023 at 3:27 pm #14864603

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

This ticket is about translating ACF Choice Labels. As long the other ticket does not handle the same issue there is not any issue with this.

You could also create a new account with my e-mail:

andreas.w@onthegosystems.com

Take note, that I need to be super admin in order to investigate.

The translation of ACF choices depends on how you are translating the content and how you have configured your ACF Field Group.

You said you are using String Translation. Does this mean you are not translating your content with the WPML Translation Editor?

Please let me know which translation preference setting the group or field is using and how you are translating the content.

The private reply form is enabled again so that you can provide me access.

Best regards
Andreas

November 17, 2023 at 4:16 pm #14864989

johnM-108

Your access might not be required. I will know once I get the multisite environment figured-out and can perform my own tests based-on your Reply #14780625. I will let you know. Thank you.

November 17, 2023 at 4:42 pm #14865177

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

Thank you for your message.

The ticket will remain open for a maximum of 14 days and close automatically after this timeframe, in case we will not receive any further answer.

Best regards
Andreas

November 17, 2023 at 4:51 pm #14865247

johnM-108

Thank you.

November 27, 2023 at 1:58 pm #14930749

johnM-108

Just bumping this topic to keep it alive while I work-out the multisite issue. I think I'm about there.

November 28, 2023 at 10:11 am #14937513

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

No problem, in the meantime please read this documentation and get back to me if you have further questions:

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

Best regards
Andreas

December 7, 2023 at 7:16 pm #15020695

johnM-108

I am closing this ticket and starting a new one.