Forum Content




Welcome to IconSkouliki Graphics
Register now to gain access to all of our features. If you already have an account, login here - otherwise create an account for free today!

You are not connected. Please login or register

Find more content tagged



1Solved [Question] Google translate banner

Post by jkh on 3/9/2017, 14:15

jkh

avatar




Hi skouliki

I have returned to pick your brains once again  Embarassed

I wonder if you can tell me how to have a google translate banner like the one you've got please? I'm sure my members and guests would find it immensely useful.

Can it be added to my forum which is phpBB? Is there a code or something I can add to my CSS?



Many thanks.  Thanks

https://jillhavern.forumotion.net/

2Solved Re: [Question] Google translate banner

Post by Admin on 3/9/2017, 16:58

Admin

avatar
Administrator




hello
just add this code as a java /in all pages

Code:
function gT(){new google.translate.TranslateElement({pageLanguage:"fr",multilanguagePage:!0,floatPosition:google.translate.TranslateElement.FloatPosition.BOTTOM_RIGHT})};
$.getScript("http://translate.google.com/translate_a/element.js?cb=gT");

you can change the position in the code 


and you will have this result 



when you click on the translate button the google translate banner will automatic appear at the top of your page


can i ask something please when you open my forum does this google bar appeared every time even if you closed it last time ...
cause we had this problem with SLGray here https://iconskouliki.forumgreek.com/t398-suggestion-google-translate
it was opened every time for him and hidden the forumotion toolbar
(if you have the same issue that's why you could not find the login/out options)

but i can not see the same cause to me google translate open only if i hit the translate button



Last edited by Admin on 3/9/2017, 23:55; edited 1 time in total


_________________


All image creations in this forum are only for personal and non commercial use.
You may not sell or distribute our graphics without our written permission.

    (You can view images online, but in order to download them free you must first log in)
https://iconskouliki.forumgreek.com https://www.facebook.com/Iconskouliki https://twitter.com/Iconskouliki http://iconskoulikigraphics.deviantart.com/gallery/

3Solved Re: [Question] Google translate banner

Post by Admin on 3/9/2017, 17:36

Admin

avatar
Administrator




The topic was moved to the correct section.


_________________


All image creations in this forum are only for personal and non commercial use.
You may not sell or distribute our graphics without our written permission.

    (You can view images online, but in order to download them free you must first log in)
https://iconskouliki.forumgreek.com https://www.facebook.com/Iconskouliki https://twitter.com/Iconskouliki http://iconskoulikigraphics.deviantart.com/gallery/

4Solved Re: [Question] Google translate banner

Post by SLGray on 3/9/2017, 23:31

SLGray

avatar




It is still doing it even if I click the X.

http://fmthemes.forumotion.com/ https://twitter.com/FMThemes https://pinterest.com/FMThemes

5Solved Re: [Question] Google translate banner

Post by jkh on 4/9/2017, 00:05

jkh

avatar




skouliki, your translate bar is there for me all the time. Even if I click the little X it will disappear until I go to a new page then it'll reappear. It's not a problem for me on your forum. I used to have a google translate widget but it made the forum play up for some members so I had to delete it. In fact it was one of the forumotion members who discovered the problem for me.

I've just tried adding your code while I was logged in to firefox and it crashed, but now it seems ok, but I click the X then it disappears until I click the translate button - so it works differently on my forum than it does here. However, I can't see it at all in Chrome or I.E. but I can see it in Opera.

But it's there on the forum now, so thank you for that Embarassed

https://jillhavern.forumotion.net/

6Solved Re: [Question] Google translate banner

Post by Admin on 4/9/2017, 03:39

Admin

avatar
Administrator




Ok thanks for your help i found what the issue was i posted it here

i can see the code running ok to your forum  Okey the code i gave was from here forumotion tip

if you need the new google translator i put as a widget you can visit this page 
Add to your website now - Google Translate


Solved/Topic archived.


_________________


All image creations in this forum are only for personal and non commercial use.
You may not sell or distribute our graphics without our written permission.

    (You can view images online, but in order to download them free you must first log in)
https://iconskouliki.forumgreek.com https://www.facebook.com/Iconskouliki https://twitter.com/Iconskouliki http://iconskoulikigraphics.deviantart.com/gallery/

Sponsored content









Share this topic

URL Direct
BBcode
HTML
Related Topics×+