This is the previous topic we received support from. To sum all the threads before this: we were using "copy content" to copy our contents to translated pages. It is working with other languages but not with Spanish and Portuguese. An alternative was offered by the previous supporter, duplicating the pages. But duplicating the pages are not copying the pages unless the Fields Groups are set to "not translatable". It works when we set it to not translatable but our header and footers are custom fields and used with translation. When field groups are set to not translatable, our footers and headers of the translated pages are not rendered. So to set our fields groups to not translatable, we need to change our footer and header system which is not what we are looking for.
Is there an alternative way to create pages for other languages and copying the content from English?
Duplicate mode should work fine, as long as the translation group are translated correctly and the translation setting for each field is set correctly. Fields need to be set to COPY ONCE or Translate.
If you experience different behavior, please try to create a dummy simple example on next test site and I will check it out further.
- hidden link
Please do not add any additional custom code or themes or migrate your website.
I configured WPML as our website but I actually cant install the acf plugin to recreate the problem bc blocks are premium and we mainly use blocks in our site.
I checked some of the blocks I have problems with. Their fields are set to Translate so I dont understand whats the problem.
Can you please explain why this causes issues with your header and footer system and how you are building them and translating them? It should work fine also with field groups not translatable. Maybe I can help with that and that will solve your troubles.
Fields like image etc are set to Copy Once as we dont want them to be synced. Text areas are set to Translate. Would only one field set to "Not Translate" effect the situation or does the "Translate" or "Copy" ones should be duplicated no matter how the other fields are set?
We created block structures for the headers and the footers and implemented them statically for English language. For every other language, we translate it from the English one and create a new header for that language. This way, whenever the page is in another language, it uses the translation of the English one. You can see below the Portuguese menu is the translation of the English one. When we set the fields to "Not Translatable" this translations gets deactivated so the pages doesn't render a header.
as I explained before, copy will only duplicated, while copy-once and translate will stay empty, that is if you translated field group correctly.
This way, whenever the page is in another language, it uses the translation of the English one. You can see below the Portuguese menu is the translation of the English one. When we set the fields to "Not Translatable" this translations gets deactivated so the pages doesn't render a header.
That should not be correct and act like this since you are setting field groups to Not Translatable not fields themself. So fields still stay in both languages and you can still translate them as before.
Do you have a staging site where we could try this out and check? You show what is not working when field groups set to not translatable and I think I can fix it, and correct your configuration. Of course, if you wish to proceed in this direction.
Let me know.
Thanks,
Drazen
The topic ‘[Closed] WPML Content Duplicating is not working when field groups set to Translatable’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.