• Hello!

    I use Polylang with Modern Events calendar and encountered the following issue: I create two different language versions of the specific events (HU and EN), and event locations. All seems to work fine, I can pick the English locations for the EN events and the HU ones for the HU events, BUT: I realised that whenever I save an event, the location of the other version is gone. Let’s say:
    – I create the HU event, add the HU location to it, save it.
    – I create the EN event, save it.
    Result: the location of the HU event is gone. I don’t even need to add any info to the EN event: the very last update action overwrites the location info of the corresponding one. If I go back and save the HU event again, the same thing happens to the EN one.

    I am not sure if this is an issue within Polylang or Modern Events Calendar (certaintly not something else, as it works like this when all my other plugins etc are disabled) — I addressed the same question to MEC too. I wonder if anybody has encountered such behaviour before and if anyone can give me advice on how to fix this.

    Thanks in advance,
    Anna

Viewing 6 replies - 1 through 6 (of 6 total)
  • runimets

    (@runimets)

    Unfortunately I have not yet found a solution to this problem, which I also have. However, you can deselect the custom fields under Languages – Settings – Synchronization. Then the venue and organizer will no longer be overwritten with the wrong language (but this also means that changes to the date, time, etc. are no longer synchronized). Maybe it’s because Custom Content Types and Taxonomies are disabled and cannot be enabled …
    @chouby: When editing a translation, the events all receive the same ID for the taxonomy mec_location, although there are separate translations for the different venues. Is it a bug or how can it be changed?

    Hi,

    I am also experiencing the same issue. Any solutions since the issue was posted?

    Hi,
    to solve this issue, you have to deactivate the “Custom fields” synchronization under Language -> Settings -> Synchronization. In addition, do not translate the locations and organizers (just create an entry for each location/organizer in each language, but not translate them). Then you can edit the events and the other language version will not be “damaged”.
    But remeber: All changes (not only location and organizer, but also time and date!) must be changed in every language – they will not be synchronized!

    @runimets Thank you! Will give it a try ??

    This worked ?? Our developer suggested deactivating synchronization of only Location and Organizer fields, as we have other custom fields in the project as well, and it would allow retaining their synchronization. Just in case it might be useful to someone else, it can be done in the wpml-config.xml file located in the root directory of the active theme by adding these two lines:
    <custom-field action=”ignore”>mec_organizer_id</custom-field>
    <custom-field action=”ignore”>mec_location_id</custom-field>

    Thank you! That’s really the better way!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Issue when using with Modern Events Calendar’ is closed to new replies.