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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 7 replies, has 2 voices.

Last updated by Waqas Bin Hasan 1 year, 9 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
July 4, 2023 at 3:13 pm #13942619

dominikC-4

Hello,

I have a problem with some custom fields not showing up in WPML Advanced Editor. This mainly applies to Repeater fields.

I've set the Repeater fields to "Copy" and the text subfields I want to translate to "Translate". However, these fields do not appear in the WPML Advanced Editor. I even edited the page to the original version of the page, saved it and no effects.

I will just add that this is one of many examples where WPML Advanced Editor does not display all fields, despite the recommended settings.

Please help me in this matter.

wpml_translation_advanced.png
custom_fields_settings.png
July 5, 2023 at 8:21 am #13947031

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

As per your fields settings screenshot, I see that repeater field is set to "Copy Once", however, if you set it to "Copy", it should work.

Your main repeater/flexible content field always has to be set to Copy or Copy Once. But if you want to be able to translate the sub fields in ATE, you just need to set the main repeater to "Copy" and the subfields to Translate (https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/expert-translation-option/#setting-translation-preferences-for-repeater-fields).

If you set your field to "Copy Once", then you 'll have to translate manually, please see these guides for details:

- https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/recommended-custom-fields-translation-preferences-for-acf-and-wpml/
- https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/

On the other hand, I'll also advise to update WPML plugins to the latest versions. However, remember to take a full backup of your site and database before updating.

Please let me know if this helps or I'll try my best to further assist you on the matter.

Regards.

July 5, 2023 at 8:58 am #13947583

dominikC-4

Hi,

Thank you for your reply and help.

I changed the Repeater fields to "Copy", made some minor changes to the page, then saved it and checked that those fields appear in the ATE. But they still don't show up. I am posting screenshots below.

Of course, plugins are updated to the latest versions.

Thank you for your help and best regards.

Screenshot 2023-07-05 at 10-58-15 Plugins ‹ Taalhammer — WordPress.png
Screenshot 2023-07-05 at 10-56-33 Add Plugins ‹ Taalhammer — WordPress.png
ate-screenshot.png
acf_settings_2.png
July 6, 2023 at 9:03 am #13956789

dominikC-4

Thank you for your answer.

I set up the site on the following Sandbox site. I added two example blocks on the page that caused a problem with ATE and completed with content. Now I see that none of the fields appeared on the ATE.

I also had to install the ACF Pro plug-in, because without it it was impossible to reproduce the problem.

In addition, I will also add that we also use the "Advanced Custom Fields Multilingual" and "WPML SEO" plugins on our website, which are related to WPML and which I could not install on Sandbox.

Kind regards.

July 6, 2023 at 12:16 pm #13959613

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for taking the time to setup in the sandbox.

You can simply download the WPML plugins from https://wpml.org/account/downloads/ after login to your WPML.org account and then upload using Plugins -> Add New.

Please feel free to add these and see if these help or anything to do with the issue? Let me know.

July 7, 2023 at 9:01 am #13966371

dominikC-4

Thank you for your answer

I installed the missing plugins on Sandbox, but now I have a problem with the translation settings of individual fields. For example, if I want to set a subfield translation in Reapeter, and when I do that, it adds a new blank field (no-label) in field group.

When I expand the Repeater box, even any translation setting is not checked.

Kind regards

acf-settings-4.png
acf-settings-3.png
July 7, 2023 at 11:58 am #13967765

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

Let me work on this and 'll get back to you as soon as I 've some progress.

July 10, 2023 at 8:42 am #13975561

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for waiting.

I checked about your field group and found it behaving exactly as you mentioned, like trying to set translation mode for a sub-field in a repeater field and having no-label field. This happened for as many fields I tried to set option for.

I then deactivated WPML SEO and WPML Media plugins, in a hope that if these are creating any problem. But this didn't make any difference.

Then, I created a new field group "WPML Test Group" and played with it. I used Text and Repeater fields (used text fields in repeater and sub-repeater fields also).

I tested this as below:

- with Post
- with your Block (Course program section (DSQUAD))
- kept WPML SEO and Media plugins active

And all seems to work fine. I even reedited the group, changed translation options, saved and couldn't reproduce that no-label fields issue.

One this I found strange, that when I add the block to a new page, I don't find my fields in the block but these are on the sidebar.

While if I edit the home page (the one you created), my fields appear in the block and in ATE as well.

I am not sure but I've following suspects:

- The theme you are using is based on 2016, means very old.
- Either the theme is customized or has custom code belongs to the blocks handling.
- The blocks are custom ones.

Can you try followings in this sandbox site?

- Create a new field group with exactly the same fields as your original one, BUT, do not use it with your block. Use it with Post or Page simply.

- Check your field group vs your block with another standard WP theme like 2021 or 2023.

Please note that when trying to reproduce the issue with your field group, it was messed up with so many no-label fields and those fields were removed from repeater ones. So you may need to recreate or fix that field group.

Let me know how it goes.

group.jpg
Screenshot 2023-07-10 132305.jpg
Screenshot 2023-07-10 132257.jpg
Screenshot 2023-07-10 132219.jpg
Screenshot 2023-07-10 132211.jpg
Screenshot 2023-07-10 132201.jpg
Screenshot 2023-07-10 132148.jpg

The topic ‘[Closed] Some ACF fields do not display in the WPML Translation Editor’ is closed to new replies.