I added the code below to my quotes module : /modules/boonex/quotes/templates/base/unit.html ......right before the last </div>
it allows all things in my site to be translated in 52 languages. I'm still working on my site but you can see how it works at:
http://www.happyecho.com/community/
(if this helps you maybe you can help me I want to create new modules like blogs - a gratitude journal w/ all the features of blogs but separate)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------code below
<!-- Begin TranslateThis Button -->
<div id="translate-this"><a href="http://translateth.is/" class="translate-this-button">Translate</a></div>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" src="http://x.translateth.is/translate-this.js"></script>
<script type="text/javascript">
TranslateThis();
</script>
<!-- End TranslateThis Button -->
|
I love you DD :) WOW WOW WOW WOW WOW WOW WOW WOW WOW boonex language suxxx |
big thanks! thumbs up!! =) --- call me asa! ;-) |
indeed, very nice, just wonder why boonex wouldnt provide such a solution?
oh yeah they can create a mod and sell it for $60+
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
indeed, very nice, just wonder why boonex wouldnt provide such a solution?
oh yeah they can create a mod and sell it for $60+
You're forgetting the translation quality for most of the languages supported by Google Translate is mediocre at best. I wouldn't want them shipping this with Dolphin.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
why not, considering some of the other builtins that have shipped with it and not worked?
askimet
security
site cart
site search
matching
polls
moderation
indeed, very nice, just wonder why boonex wouldnt provide such a solution?
oh yeah they can create a mod and sell it for $60+
You're forgetting the translation quality for most of the languages supported by Google Translate is mediocre at best. I wouldn't want them shipping this with Dolphin.
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
why not, considering some of the other builtins that have shipped with it and not worked?
askimet
security
site cart
site search
matching
polls
moderation
indeed, very nice, just wonder why boonex wouldnt provide such a solution?
oh yeah they can create a mod and sell it for $60+
You're forgetting the translation quality for most of the languages supported by Google Translate is mediocre at best. I wouldn't want them shipping this with Dolphin.
For the record, they took moderation out, remember? And do you want them to add another barely working feature? I think not.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
if your interested in the results below; try doing this too..
backup /templates/base/_sub_header.html file then edit it
look for
<bx_injection:injection_between_logo_top_menu /> <div class="sys_top_menu"> <bx_injection:injection_top_menu_before />
change to this
<bx_injection:injection_between_logo_top_menu /> <div class="main main_content" style="border:0px; width:__main_div_width__;" id="google_translate_element"></div><script> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'en' }, 'google_translate_element'); } </script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<div class="sys_top_menu"> <bx_injection:injection_top_menu_before />
using this method you get this...
ManOfTeal.COM a Proud UNA site, six years running strong! |
I can not believe this is a brilliant ideas in decade ,all who sell their ideas should look to this member,money is not everything,ddesiree i can give you a thousand votes . |
if your interested in the results below; try doing this too..
backup /templates/base/_sub_header.html file then edit it
look for
<bx_injection:injection_between_logo_top_menu /> <div class="sys_top_menu"> <bx_injection:injection_top_menu_before />
change to this
<bx_injection:injection_between_logo_top_menu /> <div class="main main_content" style="border:0px; width:__main_div_width__;" id="google_translate_element"></div><script> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'en' }, 'google_translate_element'); } </script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<div class="sys_top_menu"> <bx_injection:injection_top_menu_before />
using this method you get this...
I didn't find a unit.html so when I tried this in the _sub_header file it seemed to chop my background image into two segments.
Is there a another place for it? There's wasted space up near the quotes section. Could it be placed there?
|
if your interested in the results below; try doing this too..
backup /templates/base/_sub_header.html file then edit it
look for
<bx_injection:injection_between_logo_top_menu /> <div class="sys_top_menu"> <bx_injection:injection_top_menu_before />
change to this
<bx_injection:injection_between_logo_top_menu /> <div class="main main_content" style="border:0px; width:__main_div_width__;" id="google_translate_element"></div><script> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'en' }, 'google_translate_element'); } </script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<div class="sys_top_menu"> <bx_injection:injection_top_menu_before />
using this method you get this...
I didn't find a unit.html so when I tried this in the _sub_header file it seemed to chop my background image into two segments.
Is there a another place for it? There's wasted space up near the quotes section. Could it be placed there?
Try pasting the google translate in the banners module in your admin panel. No need to change any code. :-)
Free the Dolphin... |
The reason I don't use banners.
The placement cannot be where I have it. If you try to position it with the settings, it varies from browser to browser.
I like it below the main menu..
ManOfTeal.COM a Proud UNA site, six years running strong! |
The reason I don't use banners.
The placement cannot be where I have it. If you try to position it with the settings, it varies from browser to browser.
I like it below the main menu..
Not really browser-to-browser, but the size of windows, if a scroll bar is on the page, etc. The banners feature lacks proper placing.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
not if you use the <center> banner code </center>
I'm only speaking of the top and bottom banner, and only on certain sites.
Nothing is consistent with dolphin on any browser!
ManOfTeal.COM a Proud UNA site, six years running strong! |
not if you use the <center> banner code </center>
I'm only speaking of the top and bottom banner, and only on certain sites.
Nothing is consistent with dolphin on any browser!
I'm an Opera user and I'm forced to agree with you.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
I have tested a simple way to add a slightly different Google translate button to a Dolphin site:
1-Go to http://translate.google.com/translate_tools
2-Choose "Add translation to entire webpage," and your site language.
3-Expand the optional settings, choose all or specific languages, and display mode "Tabbed." You then have the option as to location. Due to bottom member menu, upper left or upper right work best. Finally, choose your Advanced options.
4-Copy the code generated according to your choices and paste it into your site. I added mine to an existing bottom banner, but you can also try your /templates/base/_header.html
One nice thing about doing it this way is that it will leave all the layout aspects of your site intact.
Depending on your location choice, the Google translate button will appear on every page of your site in that location. Make sure that there is nothing in your site that would be covered by it. The only limitation I found in my case is the magnification at which the site can be viewed, as my nav bar is at the top and extreme magnification will cause links to disappear under the button. But the end result is slick and highly functional. You will find that translate works differently in different browsers - in some the translation has to be reapplied for each page you visit, in others it happens automatically.
The tip for me was to choose the "Tabbed" display mode. It acts invisibly and as I said without changing your site layout or interfering with Google ads. Inline mode is very tricky to set up, and doesn't even seem to work in an HTML block (code gets stripped). In other places, like the header, it messes with the site layout.
Someday, Someway. |
I up-dated it. I moved personally moved it to: /templates/base/_sub_header.html
After:
<bx_injection:injection_logo_before />
__main_logo__
<bx_injection:injection_logo_after />
</div>
<!-- Begin TranslateThis Button -->
<div style="float:right; width:18%; margin-top:-38px;"><div id="translate-this"><a href="http://translateth.is/" class="translate-this-button">Translate</a></div>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" src="http://x.translateth.is/translate-this.js"></script>
<script type="text/javascript">
TranslateThis();
</script>
<!-- End TranslateThis Button -->
</div>
You can adjust the: <div style="float:right; width:18%; margin-top:-38px;"> to make it look right.
I personally don't like the Google look.
and in the past it didn't work for me - every time I switched to a new page it would stop translating. Where as this one keeps translating as your member or guest changes pages. Until you actually hit cancel.
You can see how it works at: http://www.happyecho.com/
|
Sadly, Google is discontinuing the use of this API - it will be gone by December: http://goo.gl/OZAQG |
Sadly, Google is discontinuing the use of this API - it will be gone by December: http://goo.gl/OZAQG
Google Translate API is being discontinued.. not the elements feature..
they tell you to use "For website translations, we encourage you to use the Google Translate Element."
this is the code I have been using all along..
<!-- Google Translate Element -->
<div id="google_translate_element" style="display:block"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: "af"}, "google_translate_element");
};</script>
<script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
ManOfTeal.COM a Proud UNA site, six years running strong! |
|
Hi All,
Thank you for the idea and script for google translate. Anyway, I have a problem with my dolphin editor, the icon was gone during migration. I'm looking for ax.gif to re-upload to my server. Can any body help me? My web halalsurf.com Thanks.
|
Nice post. Had all kinds of trouble getting it positioned on my site. In the end, I modified my quotes mod to position it perfectly at the top of my page.
Just like ddesiree, I added the code below to my quotes module : /modules/boonex/quotes/templates/base/unit.html ......right before the last </div> I also removed the parts related to the quotes themselves.
The fish forum displays the <code> tag so well, I decided to just color the text for you
<div class="quote_div"> <!-- Google Translate Element --> <div id="google_translate_element" style="display:block"></div><script> function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: "af"}, "google_translate_element"); };</script> <script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> </div>
http://towtalk.net ... Hosted by Zarconia.net! |
i installed it but can't see it.
website is
http://queloquepasa.com/dating/index.php
can some help?
please PM me
Everyday is a new beginning. |
Have you cleared the site's cache? BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Yeah, since it's in the header, you'll need to dump your site cache and your browsers cache to see it..
I just looked at your site. You have a custom header. My fix won't work for you...
http://towtalk.net ... Hosted by Zarconia.net! |
I added the code below to my quotes module : /modules/boonex/quotes/templates/base/unit.html ......right before the last </div>
it allows all things in my site to be translated in 52 languages. I'm still working on my site but you can see how it works at:
http://www.happyecho.com/community/
(if this helps you maybe you can help me I want to create new modules like blogs - a gratitude journal w/ all the features of blogs but separate)
Curious that she is no longer using Dolphin...
ManOfTeal.COM a Proud UNA site, six years running strong! |
|
|
Why when I am reading this do I continually get data tranfer from happyecho.com? Complete newbie but learning fast. Thanks for all the help. |
Why when I am reading this do I continually get data tranfer from happyecho.com?
Don't understand your question..
ddesire2003 site, happyecho.com is no longer a dolphin site.
ManOfTeal.COM a Proud UNA site, six years running strong! |
Wow ...This is So Freaking Cool!!!!!!
Will u marry me? lol
|
toumi111 28 Nov 2011 ·
post is hidden (
show post
)
|
Hi......i let you all a link to a youtube video about how to change language in your site http://www.youtube.com/watch?v=Pbc4Dk4yjFg |
I know this is an old post but I didn't want to create another one about the same thing.
I manage to install Google translate perfectly and it works great BUT...some how the top of my site is left blank, so nothing is visible until you scroll down to find the beginning of the site and of course Google translate is there. When I inspect element it shows me that this whole area is the body, when i try to remove it it gives me header erros. Any time I have tried to change the header it gives me errors.
Has this happened to anyone before?
Thank you
MeMe
|
I added the code below to my quotes module : /modules/boonex/quotes/templates/base/unit.html ......right before the last </div>
it allows all things in my site to be translated in 52 languages. I'm still working on my site but you can see how it works at:
http://www.happyecho.com/community/
(if this helps you maybe you can help me I want to create new modules like blogs - a gratitude journal w/ all the features of blogs but separate)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------code below
<!-- Begin TranslateThis Button -->
<div id="translate-this"><a href="http://translateth.is/" class="translate-this-button">Translate</a></div>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" src="http://x.translateth.is/translate-this.js"></script>
<script type="text/javascript">
TranslateThis();
</script>
<!-- End TranslateThis Button -->
Thanks for the code, its amazing. Sometimes I am getting some problem while working on that, I followed the same steps which you mentioned in your post. Earlier it was working fine, but now it's is redirecting to "Google Translate Page", for more details see the attached screen shot. What should I do to remove that Google bar from the Top of the header part...
Thanks in Advance...!!!
|
I know this is an old post but I didn't want to create another one about the same thing.
I manage to install Google translate perfectly and it works great BUT...some how the top of my site is left blank, so nothing is visible until you scroll down to find the beginning of the site and of course Google translate is there. When I inspect element it shows me that this whole area is the body, when i try to remove it it gives me header erros. Any time I have tried to change the header it gives me errors.
Has this happened to anyone before?
Thank you
MeMe
Hello,
I got the same, please see my last post, even I have attached the screen shot as well...!!!
|
I know this is an old post but I didn't want to create another one about the same thing.
I manage to install Google translate perfectly and it works great BUT...some how the top of my site is left blank, so nothing is visible until you scroll down to find the beginning of the site and of course Google translate is there. When I inspect element it shows me that this whole area is the body, when i try to remove it it gives me header erros. Any time I have tried to change the header it gives me errors.
Has this happened to anyone before?
Thank you
MeMe
Hello,
I got the same, please see my last post, even I have attached the screen shot as well...!!!
OMG! I HOPE THIS CONTINUES TO WORK WITH NO GLITCHES. BECAUSE THIS IS SIMPLY TO GOOD TO NOT HAVE IT WORK! AND CERTAINLY BOONEX, IT WOULD SEEM, WOULD WANT TO HAVE IT INTEGRATED AND WORKING PROPERLY WITH THE DOLPHIN CODE.
Come on Boonex any suggestions? Seems like it has initially slowed down my site by a few fractions of a second and has played a few tricks on the links at the top of the page. But once the site was fully loaded things at least as of now seem to be working perfectly.
Thanks enormously, DD! This is amazing and so important to us all to be able to use and for FREE! Do you have any idea at all of the thousands of dollars you gave away by making this free? Oh that's tight this is all about world community isn't it?
Get bent! >0<
|
Thanks enormously, DD!
She's been long gone and does not use Dolphin any more.. :/
ManOfTeal.COM a Proud UNA site, six years running strong! |
Thanks enormously, DD!
She's been long gone and does not use Dolphin any more.. :/
Yes I did see that, Newton. Didn't read why she left even if it was explained here but the translation code seems to still be holding up on my site. And I can't think of a more valuable one to have provided for FREE to everyone. Especially considering all the individual language programs which MAY BE inexpensive enough for just one but are through the roof if a webmaster were to buy all of them.
Happy new year anyways. ;-)
|
Additions like this scream for a global block tool. There is a site using this feature that only has it on the home page which translates the home page but no further which in my mind is like foreplay that stops it's nothing but a tease. I had to put the translation block on ALL pages I wanted to translate and it does carry forward the translation that is.
However that is very time consuming is there no way to do a global block? In Other Words use this block on all pages? yes or no? What a time saver this would be...
Csampson |
Hello csampson1 if u go to admin panel, tools>banners & enter code in text block it will insert it on entire site, instead of independent blocks. I did it to mine, but for some reason it shifts the top header down. I disabled it until i can resolve issue, but it's a great feature, & newton27 thanks bro!
Everyday is a new beginning. |
Happy New Year from Barcelona.
Here is a free gift for everyone. Google Translate Element for D 7.1.4 !
You can have your entire site translate at a click of a button regardless of browser.
Open your _sub_header.html in the templates/base folder in Notpad++
look for this code around line 8
<div class="sys_ml_wrapper bx-def-padding-sec"> <bx_injection:injection_logo_before /> __main_logo__ <bx_injection:injection_logo_after /> </div>
and change to this
<div class="sys_ml_wrapper bx-def-padding-sec"> <bx_injection:injection_logo_before /> __main_logo__ <bx_injection:injection_logo_after /> <div id="google_translate_element" style="float:right; position:absolute; top:60px; right:30px; " ></div><script type="text/javascript"> function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'be,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,hi,hr,hu,is,it,ja,lt,lv,ms,nl,no,pl,pt,ro,ru,sk,sl,sq,sr,sv,sw,th,tr,uk,zh-CN', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, multilanguagePage: true}, 'google_translate_element'); } </script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> </div>
You need to add this or else it will look shit: style="float:right; position:absolute; top:60px; right:30px; "
Vary these setting as per your preference.
I have attached the file for clarity.
This was a lot of pain staking work on v7.1.4 which i think is...... well never mind what I think.
OpCo UK |
Hello opcouk,
Happy New Year...!!!
your code is working fine with the google bar at the top, but it's not working with any other template, I have responsive template for my site, and it's not working with it.
Thanks
|
Hi Raman
It is not clear what you mean "not working with any other template"
I dont have any responsive templates so I am not in a position to comment about where the code should be placed.
In laymans terms, by design, responsive templates have a feature which "overwrites" the "default CSS" according to browser size.
The code would have to do where it can not be overwritten by setting for the browser size.
I need to look at the template files. You can email any information me at legal@opcouk.com
I will try my best to help.
OpCo UK |
I don't wanna be a pain in the butt...
But have you seen some of the translations google returns. Doesn't make sense at all!!
I know it's easy but i think if you want a great site you have to have the translation done right!!
Good luck to all who will use it on there sites. :-)
|
Hi
Dolphin does not even work properly in English, the default language, so I wouldnt worry about wasting thousands to have full translation done. Even Mr Bigshot Boon does not trust his own product. Look at this site, its not running Dolphin. Ask yourself why.
But I get your point. Google works well when you keep sentences short, simple grammar and write in the first person
Use of the 3rd person, subjunctive, conditional, and past perfect fools it most of the time.
It is not intuitive so you must keep it simple when writing english especially.
I use Google Element on Magento eCommerce sites alongside full translations in the big 5 (Spanish, French, German, Italian, Portuguese) and its does just fine. I have it testing on D7.0.9 and D7.1.4 and no problems with languages, just the coding is shit.
By the way Magento CE is free. Code is rock solid. NOTHING touches it. It was born in 2007-08 but the company was bought out by eBay for $700 million in 2011. And they use their own code on their own website!
It makes you think....
There are "ass lickers" on this site that think you can run this Dolphin software on shared hosting. WHAT?
They will tell you that you can upload videos no problem, which will be converted in "only" in a few hours. WHAT?
They will tell you how important Cron jobs are. What?
So please chill my friend. A little knowledge is a bad thing.
I dont want to be a pain in butt but do you get my point?
I am genuinely trying to help get access to cheap translation. FREE.
Sir Tim Berners Smith invented the internet for all of us, a place where all of us can meet, write and read (his words). For Free. In any language.
OpCo UK |