yuan
(yuan)
1
Greetings Webflow coder!
I’m using Bablic for translating my website, and I plan to integrate the button on Nav bar.
So I read their tutorial here:
Short explanation, the staff said this:
Simply create a button and link it to bablic.redirectTo(‘XX’);
Replace XX with the desired language code
I created button, and put that link on the button, but wait which option should I choose?
I tried to put that on the URL, webflow add http:// into the code and it doesn’t work.
Where should I put that code on button?
Thank you!
johnmn
(John)
2
Actually the text you put in box Url: is not follow a link format. So, you have to use correct link format in this case.
yuan
(yuan)
3
Thank you for your reply @johnmn
Can you explain more about correct link format
vincent
(Vincent Bidaux)
4
Put a backtick charcter before your link
Like this:
`bablic.redirectTo('XX')
So that Webflow doesn’t add http://
1 Like
vincent
(Vincent Bidaux)
5
There are many occasions where you need code instead of proper links set on links. In those cases, use the backtick character.
yuan
(yuan)
6
Yes it works!
thank you vincent!