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
- 6:00 – 12:00 8:00 – 12:00 6:00 – 12:00 8:00 – 12:00 6:00 – 12:00 -
- 13:00 – 15:00 13:00 – 17:00 13:00 – 15:00 13:00 – 17:00 13:00 – 15:00 -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by Nicolas V. 1 year, 1 month ago.

Assisted by: Nicolas V..

Author Posts
March 3, 2024 at 9:42 am #15366520

khachayard

Tell us what you are trying to do?
I m trying to filter a Crocoblock DataTable with multilingual smartfilters fed by ACF.
It's working properly in the primary language, not in the secondary.
I can give temporary admin access, any help would be really appreciate asap.

Is there any documentation that you are following?
hidden link

Is there a similar example that we can see?
hidden link

What is the link to your site?
hidden link

March 3, 2024 at 4:26 pm #15367014

khachayard

Hi, we tried to resolve the issue with the chat support.
Support member was really kind and patient, thanks again to him.
I ve done the setup with support team to reproduce the issue : hidden link
Filters are working, values are not translated in the table.

March 4, 2024 at 2:21 pm #15370141

Nicolas V.
Supporter

Languages: English (English ) French (Français )

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

Hello,

It took me some time to understand the full flow: You have a CPT with ACF custom fields. You use those fields in a filter and the filter display a listing (which is actually a table) in an Elementor page...

In you specific case setting the radio ACF field to copy is not the right solution. I have changed the translation preference to translate and now the fields inside the table are translated.

Last thing, please always make sure that you translate from French (default language) to English.

You can test it here: hidden link

March 5, 2024 at 12:08 pm #15374367

khachayard

Hi, thanks for your answer.
If I well understand, on the original website, I have to change the ACF fields checkboxes translation mode to translate instead of copy. Then I should go to each CPTs and translate those properties and it should work like a charm, correct?
Best regards.
Greg

March 5, 2024 at 12:37 pm #15374515

khachayard

I m a bit cautious, cause from my understanding it was like this before but not working properly. Support told me to put every ACF text fields to translate and others (checkboxes, ...) to copy.
Could you have a look to the original website before I do the changes, to make sure it's setup correctly ?

March 5, 2024 at 7:28 pm #15376280

Nicolas V.
Supporter

Languages: English (English ) French (Français )

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

Hello,

Radio fields are a bit complicated. You normally want to select the same option in all languages (COPY) and simply translate its label in String Translation.

However in your setup, your displaying the value of this radio field on the frontend. SO it should be treated more like a "text".

Yes, I can review your setup on the production site. Please provide me with a temporary admin access – so I can have a look.

I will activate a private field for your next answer where you can provide that information safely (this field is only visible by you and the support team). Don't share your own admin account, create a new one that you will delete when we finish troubleshooting.

IMPORTANT: Before we proceed, please backup your site and database.

March 6, 2024 at 11:29 pm #15381784

Nicolas V.
Supporter

Languages: English (English ) French (Français )

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

Hi,

I set the radio button to translate and translated a few members as a test.
As you can see on the screenshot, now the Research theme is translated correctly.

However, the filter doesn't seems to work on those newly translated post. That I mean is that if I filter by "Applications to life sciences, humanities and social sciences", Mocia (member with updated translation) won't show up it will be only the members not updated yet that still have "Applications aux sciences du vivant, sciences humaines et sociales" in FR.

I reviewed all the settings one by one and I can't find a difference with the sandbox site. Maybe that's something related to ACF field values.

You have 200+ members so I couldn't re-validate translations for all of them in order to update the value of that field.
Maybe you could try to make a copy this ACF theme field, so you can start from scratch with a new field, correctly set up from the beginning. Fill this field up for a few members and update their translations. Then create a new filter based on that new field to see if it works this time.

Screenshot 2024-03-06 095652.png

The topic ‘[Closed] WPML / ACF / JetEngine – Smartfilters / DataTable’ is closed to new replies.