Site logo

Archived topic

Multilingual Site

3 replies · Started by Joao on January 11, 2020

Viewing posts 1–4 of 4

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:
https://imgur.com/a/FpjHLxU

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).

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 :)

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

You're welcome! :)

This archived topic is closed to new replies.