All ideas

Clone fields not (always) translated #2

This topic was marked as completed, but is not (https://polylang-ai-translation-plugin.sleekplan.app/feedback/186387). So i open another ticket for it. We still can't use the plugin for this reason. I created now a very basic setup to track down the issue. It is a WordPress installation with only these plugins: ACF Pro Polylang Free Polylang AI Translation Languages: German formal (default) English (US) I created a flexible content field and with basic fields it seems to work. But I use clone fields a lot to keep things modular and organized. For example, for each flexible layout I use a separate clone field which i then just reference in the flexible content field. I attached my setup as ACF JSON. The clone field is not translated reliably, the "Text" field is not translated (but button is). On my real website, nothing is translated anymore (it was 2 updates ago, but then the plugin stopped working). My question is: is this fixable, does the plugin support my field setup? Otherwise I am at a point that I would tell my client it is not possible and stop investing more time in this. Thank you for having a look at this again. CONTENT FIELD GROUP: { "key": "group_677baafb611d8", "title": "Page Content", "fields": [ { "key": "field_677baafb78617", "label": "Page Content", "name": "content", "aria-label": "", "type": "flexible_content", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "layouts": { "layout_677bab0262de2": { "key": "layout_677bab0262de2", "name": "simpletestno_clone", "label": "Simple Test (no clone)", "display": "block", "sub_fields": [ { "key": "field_677bab1778618", "label": "Text", "name": "text", "aria-label": "", "type": "wysiwyg", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "default_value": "", "allowinbindings": 0, "tabs": "all", "toolbar": "full", "media_upload": 1, "delay": 0 } ], "min": "", "max": "" }, "layout_677bace6ae706": { "key": "layout_677bace6ae706", "name": "textwithbuttons_clone", "label": "Text with buttons (clone)", "display": "block", "sub_fields": [ { "key": "field_677bacf1ae708", "label": "Text with buttons", "name": "textwithbuttons", "aria-label": "", "type": "clone", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "clone": [ "group_677bac92eebe0" ], "display": "seamless", "layout": "block", "prefix_label": 0, "prefix_name": 0 } ], "min": "", "max": "" } }, "min": "", "max": "", "button_label": "Eintrag hinzufügen" } ], "location": [ [ { "param": "post_type", "operator": "==", "value": "page" } ] ], "menu_order": 0, "position": "normal", "style": "default", "label_placement": "top", "instruction_placement": "label", "hideonscreen": "", "active": true, "description": "", "showinrest": 0, "modified": 1736158476 } LAYOUT CLONE FIELD: { "key": "group_677bac92eebe0", "title": "Text with buttons", "fields": [ { "key": "field_677bac934e934", "label": "Text", "name": "text", "aria-label": "", "type": "wysiwyg", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "default_value": "", "allowinbindings": 0, "tabs": "all", "toolbar": "full", "media_upload": 1, "delay": 0 }, { "key": "field_677baca24e935", "label": "Enable buttons", "name": "enable_buttons", "aria-label": "", "type": "true_false", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "message": "", "default_value": 0, "allowinbindings": 0, "ui": 0, "uiontext": "", "uiofftext": "" }, { "key": "field_677bacaf4e936", "label": "Buttons", "name": "buttons", "aria-label": "", "type": "group", "instructions": "", "required": 0, "conditional_logic": [ [ { "field": "field_677baca24e935", "operator": "==", "value": "1" } ] ], "wrapper": { "width": "", "class": "", "id": "" }, "layout": "table", "sub_fields": [ { "key": "field_677bacb94e937", "label": "Button text", "name": "text", "aria-label": "", "type": "text", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "default_value": "", "maxlength": "", "allowinbindings": 0, "placeholder": "", "prepend": "", "append": "" }, { "key": "field_677bacc44e938", "label": "URL", "name": "url", "aria-label": "", "type": "url", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "default_value": "", "allowinbindings": 0, "placeholder": "" } ] } ], "location": [ [ { "param": "post_type", "operator": "==", "value": "post" } ] ], "menu_order": 0, "position": "normal", "style": "default", "label_placement": "top", "instruction_placement": "label", "hideonscreen": "", "active": true, "description": "", "showinrest": 0, "modified": 1736158430 }

Activity · 10
Robbert Vermeulenmarked this as planned· 1y
Robbert Vermeulen
Robbert Vermeulen1y
Hi there, sorry to hear again that it still does not work for you. Are you sure your ACF fields are set to "translate"? I do not see this in your ACF json.
hallo
hallo1y
@robbert_vermeulen Hi and thanks for your reply. I do not see any "translate" option in ACF. Where do I find this? Or is it only available with Polylang Pro?
hallo
hallo1y
@robbert_vermeulen @hallo as we are stuck now with implementing the plugin, could you give me feedback to my last question or do you see some way how to fix this? Otherwise i need to tell my client that we cannot use it. Thank you!
Robbert Vermeulen
Robbert Vermeulen1y
@hallo We will fix this for you. Since you use ACF Pro, did you try to set the "translations" setting to "translate" already. Otherwise, please share a temporary login with us to info@epicwpsolutions.com then I can inspect your setup.
hallo
hallo1y
@robbert_vermeulen i don't see this option, could you tell me more where i should find it? In my last comment i suspected that it is only available with Polylang Pro? I am using the Polylang free with ACF Pro.
Robbert Vermeulen
Robbert Vermeulen1y
@hallo Ah sorry, you are right using Polylang free and ACF Pro off course. Then you cannot set the setting. I would really like to suggest to provide me with some temporary login details so I can check it out for you. Because otherwise we keep chatting here. Is that possible for you?
hallo
hallo1y
@robbert_vermeulen Yes, please. I've set up a development environment with the same plugin configuration. Where can i send you the login details?
Robbert Vermeulen
Robbert Vermeulen1y
@hallo Please send it to info@epicwpsolutions.com
hallo
hallo1y
@robbert_vermeulen I sent you an email. I tested this: german page "Gesundheits-Check-up" create AI translations for english. Page "Health Check-up" is created, but most of the content is still german, but funny enough: some nested repeater fields are translated.
Robbert Vermeulen
Robbert Vermeulen1y
@hallo Thank you for the email. We have created a ticket and will start investigation today. Will come back to you asap!
Robbert Vermeulenmarked this as Completed· 1y

More ideas