Skip Navigation

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

Problem:
You are trying to translate ACF field groups and values on your site and have set 'Same fields across languages'. Despite translating everything in the string translation, the front page still displays the original language. You also tried 'Different fields across languages' and 'Expert' settings.
Solution:
We recommend checking the workaround on this page. If the workaround resolves the issue, please contact the Filter Everything plugin support team to inform them about the issue.

If this solution does not apply to your case, or if it seems outdated, we 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. Should you need further assistance, please open a new support ticket at our support forum.

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

Last updated by Osama Mersal 4 months ago.

Assisted by: Osama Mersal.

Author Posts
September 9, 2024 at 1:55 pm #16156970

Adwiton

Background of the issue:
I am trying to translate ACF field groups and values on my site hidden link. I chose 'Same fields across languages' and translated everything in the string translation. I also tried 'Different fields across languages' and 'Expert'.

Symptoms:
On the front page, I still see the original language despite translating the ACF field values.

Questions:
Why do the ACF field values not translate on the front page after following the documentation?
Is there a specific setting in WPML that I might be missing for translating ACF fields?

September 9, 2024 at 2:56 pm #16157217

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

September 9, 2024 at 4:06 pm #16157687

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Could you please check the HTTPS access details? I used the server protection details, but they are not correct.

Best regards,
Osama

2024-09-09_19-04-42.png
September 9, 2024 at 5:50 pm #16158308

Adwiton

Sorry for that, you can access it now without user and password, i have removed the protection.

September 10, 2024 at 8:02 am #16159787

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the access details. Would you please share an example of the problematic posts/pages?

I checked some posts and custom post types, but they seem to be translated correctly.

Thanks,
Osama

September 10, 2024 at 8:27 am #16159857

Adwiton

hidden link
hidden link

There shouldn't be any hungarian language, especially on the left. Btw. i found a string that was not translated on this page, i translated it with the string translation, and three other string that was translated reverted back to hungarian. (Open -> Nyitva, Details -> Részletek, Beach -> Strand). These strings were translated before.

September 10, 2024 at 8:56 am #16160021

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

1) you need to edit the English filter and add the translated labels for the side filter. (hidden link)

2) For the button and grid translation, please edit the English Accommodations page using Briks to translate them. (hidden link)

These strings won't be translated via String Translation.

Best regards,
Osama

September 10, 2024 at 9:31 am #16160310

Adwiton

I already did both of them. The filter labels are translated, that is not the problem, the checkboxes should be translated too, and those are translated in the string translataion, because those are values for the acf field groups.
As i mentioned before i translated the bricks pages (several times before), but some of the strings reverts back to original language as soon as i translate something in the string translation, because there are strings on that page, that are acf field values and the field values should be translated via the string translation, right?

September 10, 2024 at 10:23 am #16160520

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Yes, the values of ACF are translated in String Translation; I was talking about the filter labels and the Bricks button. Sorry for the misunderstanding.

The labels should be translated correctly, but I suspect a compatibility issue. Please log in to hidden link">this sandbox site and install the Filter Everything plugin.

After that, please create a test filter and translate it. Then, use this filter on a test page to check if the issue persists.

The sandbox has WPML and ACF installed with dummy posts, which you can use for the filter.

Best regards,
Osama

September 10, 2024 at 12:51 pm #16161550

Adwiton

I don't think that the Filter Everything plugin is the issue. The ACF values are the ones that are not translating.
I made couple of screenshots.
1. screenshot: a. and b. are acf field group values, which are translated in the string tranlsation but not showing up on the front end.
The "a" rectangles are within the filter everything shortcode (acf values), but the "b" ones not. Where there is "Nyári időszakban", there should be "Open all year" there.
2. screenshot is taken within an accommodation custom post, where the rectangles (acf values) should be in english, because these are already translated in the string translation. On this page there is no Filter Everything shortcode present.
If I turn off the Filter Everything plugin, the issue stays, it doesnt solve the problem.

screenshot-02.jpg
screenshot-01.jpg
September 10, 2024 at 1:43 pm #16161867

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your reply. I tested the filters on the sandbox site, which are not translated. Kindly check this page. (hidden link)

However, the ACF fields are translated correctly when retrieved using the PHP function. Kindly check this post. (hidden link)

Please install Bricks to the sandbox site to check how it will retrieve the fields.

Best regards,
Osama

September 10, 2024 at 7:56 pm #16163485

Adwiton

Thanks. I installed Bricks. I deleted your 3 posts, because on my site i used the wordpress editor to tranlsate posts and all contents on the website.
I created a page with bricks with the Filter Everything shgortcode and a loop to display the posts.
The problems are almost exactly the same as on our site.

First: the checkboxes are not translated on the left sidebar on the test page.

Second: I created two another field (Open and Payment) in the WPML TEST field group.
It seems, that your fields are showing up correctly on the test page on the right (the language field), but not the ones that i created. They remain in English despite that they are translated in the string translation.
I think it has something to do with the translating method, "wpml translation editor" and the "wordpress editor". But the filter everything is just not working, It doesn't translate, even though they say it's compatible with wpml.

September 11, 2024 at 8:21 am #16164930

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for replicating the issue on the sandbox site. I changed the return value to Label in the two new fields. (Kindly check the attached screenshot)

After that, the fields are translated correctly in Bricks. (hidden link)

Now, the only issue is the filter everything issue. Is that correct?

Best regards,
Osama

2024-09-11_11-18-31.png
September 11, 2024 at 8:52 am #16165199

Adwiton

Hi! Thank you! Changing the return value to label solved that issue.
Yes, the only issue is now the filter everything plugin. Those values not translate.

September 11, 2024 at 9:17 am #16165385

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I'll consult our compatibility team regarding this issue and will update you as soon as they reply.

Best regards,
Osama