WPML does not copy the GDF listing fields

This topic contains 6 replies, has 2 voices, and was last updated by  Alexander Krutov 4 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #503779

    Alexander Krutov
    Expired Member
    Post count: 652

    Good afternoon! I thought I made a mistake when I set up WPML, but their specialist said the error was in GDF.

    I contacted WPML with the following question: I was able to duplicate the listings using the translation management tool. And when you create a copy on an edit page, the following happens: the copies are created, but the fields are blank (category, date of loss, address, phone, email…).

    WPML support answer:

    “I have checked this question. Unfortunately, it is so easy not to set up for this special programming. Let me explain why.

    These fields are not custom fields, which can be set in the Copy setting, and WPML will copy them during translation (WPML handles such fields). They are part of your current topic and are not implemented in the usual way and are stored in the database in the table _geodir_gd_loss_detail created by the current topic. In this case, WPML does not know that there are such fields and they need to be processed (this is how we used our approach, not custom fields).

    Therefore, the author of the topic needs to implement an algorithm that will duplicate the fields in his table above.

    I checked our records for such problems with this topic, and I see that we have already tried to contact the author of the topic with similar problems reported by users, but he did not answer our efforts to contact him.

    All I can recommend is to copy the fields manually and also contact the author of the current topic for a solution.

    Please comment on whether the WPML representative is right, or whether the feature works, but needs to be configured correctly?

    Translated with http://www.DeepL.com/Translator

    #503786

    Alex Rollin
    Moderator
    Post count: 27815

    That is what our Multilingual add on is for. Do you have it installed?

    https://wpgeodirectory.com/docs-v2/addons/multilingual/

    #503797

    Alexander Krutov
    Expired Member
    Post count: 652

    Yes, the Multilingual is installed. But the “Enable frontend duplicate?” checkbox was not enabled. Enabled it. Still no duplicate fields 🙁

    I don’t think I can solve this problem without your help. I need to duplicate lists from any language to any language.

    #503798

    Alexander Krutov
    Expired Member
    Post count: 652
    This reply has been marked as private.
    #503827

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #503858

    Alexander Krutov
    Expired Member
    Post count: 652

    Yeah, I did a test, too, and the backup works. Strangely, it didn’t work before. I will test further. Thank you.

    #503881

    Alexander Krutov
    Expired Member
    Post count: 652

    I figured out where I was wrong. I thought that when I made duplicates in a published listing in the original language, it was enough to complete the process. And it turned out that after the duplication it was still necessary to update the listing itself.

    It would be useful to make a warning that the entry has not yet been updated – this is for users like me 🙂

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket