You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 9, 2020. It is now read-only.
@NateWr: Polylang is used to translate a FDM menu.
When saving a FDM menu in particular language with
specific FDM menu sections (which also are in that respective language),
the sections of other languages of that FDM menu are emptied.
Steps to reproduce:
Install FDM + Polylang
Set two Polylang languages
Create a new FDM section.
Save the FDM section with both languages (e.g. 'Wines' and 'Vins').
Create a new FDM menu (e.g. 'Drinks').
Add the previously created FDM section to the FDM menu
(correctly only the FDM sections with same language as FDM menu are listed).
Save the FDM menu (with its current translation).
Swtich to the other language of FDM menu.
Add the FDM section to the FDM menu.
Save the FDM menu.
Again, switch to other language of FDM menu.
Notice that the sections had been lost.
Polylang saves for each translation a different post with different ID,
when the field is just copied over, the ID of a different language is used.
Edit: It seems to be fixed by replacing in Food and Drink menu wpml-config.xml
@NateWr: Polylang is used to translate a FDM menu.
When saving a FDM menu in particular language with
specific FDM menu sections (which also are in that respective language),
the sections of other languages of that FDM menu are emptied.
Steps to reproduce:
(correctly only the FDM sections with same language as FDM menu are listed).
Notice that the sections had been lost.
Polylang saves for each translation a different post with different ID,
when the field is just copied over, the ID of a different language is used.
Edit: It seems to be fixed by replacing in Food and Drink menu
wpml-config.xml
with
Apparently it isn't possible to override these settings from
within another (site specific) plugin
wpml-config.xml
.The text was updated successfully, but these errors were encountered: