[Resolved] Multilingual Site

Home Forums Support [Resolved] Multilingual Site

Home Forums Support Multilingual Site

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1129082
    Joao

    Hi,

    I’m using GP and Polylang to create a three language site.

    Today I was asked to install “freshdesk widget”. It a live chat code that looks like this:
    https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/50000274982/original/zHcDTc826eO0a3jzLw7oOzkchmbigqFOFQ.png

    And results in something like this: https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/50000274953/original/zMqz4F6PFnQBnBwv6APH-Jr2khSCQ-WrEg.png.

    There will be a freshdesk widget for each language.

    1st question: Can I use hooks to insert it?
    2n: I looked into elements and what I saw was:

    View post on imgur.com

    So I decided to look into source code for NL pages. There’s no trace of elements code in there.

    Question (2nd): Elements have a language and I need to duplicate element codes for each language/this is the way to do it? If so, maybe you could add some info about it in GP Documentation…

    In the past I have used GOP and WPML. Next I’m going to check my records to find that website and check what’s happening there. (btw: so far my experience with polylang is much much better than the one I remember having with wpml).

    #1129286
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Yes, you need to duplicate your Element for each language, just like you would a post or page: https://www.screencast.com/t/AqxlkmTfM

    Once you do that, your different Elements should display on their chosen language.

    If you want an Element to display on all languages, you can check this box in the Display Rules section: https://www.screencast.com/t/ppM10hQd7v

    Let me know if this helps or not 🙂

    #1129846
    Joao

    Thank you Tom. It’s done and tested and working.

    Also inserted freshdesk as a hook element – one for each language.

    And I decide to use bottom footer bar widget to place social icons for all languages and a text widget per language containing copyright and privacy and all (had to insert a blank space in customiser footer section but it works ok.

    Thanks for your help.

    Best.

    João

    #1129897
    Tom
    Lead Developer
    Lead Developer

    You’re welcome! 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.