The problem is again extra spaces.

You need everything between <script> and </script> to be on one line
when you save it on your page.

Josh

On Sep 5, 3:38 am, Henrik1966 <[EMAIL PROTECTED]> wrote:
> Hi Josh
>
> I entered the script you passed on to me in your replay dated Sep 4,
> 5:26 pm and nothing happened ...
>
> Then I removed the blank space in your script (i.e. &output=
> js&ctomurl changed to &output=js&ctomurl)
>
> That made a difference, as now the Google Translate Box was visible in
> both Safari and Firefox (mac OS X)
> HOWEVER, in the box the is at present no pop-up menu, but only this
> text:
> "Information is temporarily unavailable."
>
> Does this mean that the script is working, but the Google Translate
> Service is closed for maintenance right now?
>
> Cheers,
> Henrik
>
> On Sep 4, 5:26 pm, Josh <[EMAIL PROTECTED]> wrote:
>
> > All I can see is you're missing an end-quote, and maybe that's causing
> > Safari problems?
>
> > Try this:
>
> > <script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/
> > ig/modules/
> > translatemypage.xml&up_source_language=da&w=160&h=60&title=&border=&output= 
> > js&customurl=http://
> > web.me.com/hekock/Tungmetalforgiftning/Dansk_version.html"></script>
>
> > Josh
>
> > On Sep 4, 1:31 am, Henrik1966 <[EMAIL PROTECTED]> wrote:
>
> > > Yes, Josh, it works, but not in latest version of Safari, where I
> > > still can't see the box, but in latest version of Firefox it's up and
> > > running, Both browsers used under Mac OS X.
>
> > > On Sep 3, 6:20 pm, Josh <[EMAIL PROTECTED]> wrote:
>
> > > > Hi Henrik,
>
> > > > Looks like you're almost there.
>
> > > >www.tungmetal.dkdoesn'tworkbecauseyou're using some sort of URL
> > > > masking which I think is breaking things.
> > > > Replacewww.tungmetal.dkwith:
>
> > > >http://web.me.com/hekock/Tungmetalforgiftning/Dansk_version.html
>
> > > > And it should work.
>
> > > > Best,
> > > > Josh
>
> > > > On Sep 3, 8:07 am, Henrik1966 <[EMAIL PROTECTED]> wrote:
>
> > > > > Hi Josh
>
> > > > > I've tried what you said and I also altered the contents a little
> > > > > since I've bought the URL "tungmetal.dk" ... in other words what I
> > > > > entered into the HTML box of iWeb '08 was the following ... it should
> > > > > be correct (i.e. work) or am I still messing things up here:
>
> > > > > <script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/
> > > > > ig/modules/
> > > > > translatemypage.xml&up_source_language=da&w=160&h=60&title=&border=&output=
> > > > >  js&customurl=http://www.tungmetal.dk></script>
>
> > > > > Slowly going crazy ... ;-)
>
> > > > > Cheers,
> > > > > Henrik
>
> > > > > On Sep 2, 9:04 pm, Josh <[EMAIL PROTECTED]> wrote:
>
> > > > > > Hi Henrik,
>
> > > > > > It seems maybe there is some extra line breaks in the HTML you 
> > > > > > pasted
> > > > > > in... look at the source 
> > > > > > of:http://web.me.com/hekock/Tungmetalforgiftning/Dansk_version_files/wid...
> > > > > > and you'll see the script tags are broken.
>
> > > > > > Try removing any extra whitespace (line breaks in the middle of
> > > > > > things) and it should work.
>
> > > > > > Best,
> > > > > > Josh
>
> > > > > > On Aug 31, 1:45 am, Henrik1966 <[EMAIL PROTECTED]> wrote:
>
> > > > > > > Hi again Josh
>
> > > > > > > I changed the name (URL) of the site 
> > > > > > > -http://web.me.com/hekock/Tungmetalforgiftning/Dansk_version.html
> > > > > > > - and of course remembered to enter the altered URL in the script 
> > > > > > > (see
> > > > > > > below), but now it doesn't even show the Google Translate Box on 
> > > > > > > the
> > > > > > > page anymore !?!?!?!
>
> > > > > > > <script 
> > > > > > > src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/
> > > > > > > ig/modules/
> > > > > > > translatemypage.xml&up_source_language=da&w=160&h=60&title=&border=&output=
> > > > > > > js&customurl=http://web.me.com/hekock/Tungmetalforgiftning/
> > > > > > > Dansk_version.html></script>
>
> > > > > > > Cheers,
> > > > > > > Henrik
>
> > > > > > > On Aug 28, 7:21 pm, Josh <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > Interesting.
>
> > > > > > > > It seems that the way iWeb puts together your page causes 
> > > > > > > > problems.
> > > > > > > > It seems to encapsulate anything you add to the page as an HTML 
> > > > > > > > widget
> > > > > > > > within its own page, and thus the translate box is trying to 
> > > > > > > > translate
> > > > > > > > that page, and not your main page.
>
> > > > > > > > You may try the following:
> > > > > > > > <script 
> > > > > > > > src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/
> > > > > > > > ig/modules/
> > > > > > > > translatemypage.xml&up_source_language=da&w=160&h=60&title=&border=&output=
> > > > > > > >  js&customurl=http://
> > > > > > > > web.me.com/hekock/Tungmetalforgiftning/V
> > > > > > > > %C3%A6lg_sprog___Choose_language___W%C3%A4hle_Sprache.html"></script>
>
> > > > > > > > I think the customurl parameter should make sure the translate 
> > > > > > > > box
> > > > > > > > translates the right page.
>
> > > > > > > > Give that a try and let me know if it doens't work for you.
>
> > > > > > > > Cheers,
> > > > > > > > Josh
>
> > > > > > > > On Aug 27, 11:46 pm, Henrik1966 <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > > Hi Josh,
>
> > > > > > > > > I can assure you that I have used the script 
> > > > > > > > > fromhttp://translate.google.com/translate_tools?hl=en&sl=da
>
> > > > > > > > > In other words I've copy/pasted all of the script and entered 
> > > > > > > > > it into
> > > > > > > > > a HTML box in the back end of my web program (iWeb '08 from 
> > > > > > > > > Apple).
>
> > > > > > > > > The Google Translate box is situated directly after section 
> > > > > > > > > 1. on the
> > > > > > > > > site and can be seen/used in latest versions of Firefox / 
> > > > > > > > > Safari for
> > > > > > > > > Mac OS X.
>
> > > > > > > > > The Google Translate Box however remains invisible when I log 
> > > > > > > > > on to
> > > > > > > > > our company's main server (using MS Remote Desktop 
> > > > > > > > > Connection) and go
> > > > > > > > > to my site using Internet Explorer 6 (Win 2003).
>
> > > > > > > > > Using the Google Translate Box under Safari / Firefox (Mac OS 
> > > > > > > > > X) still
> > > > > > > > > provides no translation, but when I enter the complete URL of 
> > > > > > > > > the site
> > > > > > > > > (containing special Danish and German letters) ...
>
> > > > > > > > >http://web.me.com/hekock/Tungmetalforgiftning/Vælg_sprog___Choose_language___Wähle_Sprache.html
>
> > > > > > > > > ... in to the field "Translate a web page" 
> > > > > > > > > onhttp://translate.google.com/translate
> > > > > > > > > then it works out just fine!?!?!?!?
>
> > > > > > > > > Cheers,
> > > > > > > > > Henrik
>
> > > > > > > > > On Aug 26, 10:56 pm, Josh <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > > > Hi Henrik,
>
> > > > > > > > > > It appears when you use the gadget to translate your site, 
> > > > > > > > > > its
> > > > > > > > > > actually trying to translate:
> > > > > > > > > >  http://web.me.com/hekock/Tungmetalforgiftning//V%C3%A6lg_sprog___Choo...
> > > > > > > > > > which seems to contain nothing but the gadget.
>
> > > > > > > > > > You should copy the <script> tags from here exactly and put 
> > > > > > > > > > them
> > > > > > > > > > directly into your 
> > > > > > > > > > page:http://translate.google.com/translate_tools?hl=en&sl=da
>
> > > > > > > > > > This is what you want:
> > > > > > > > > > <script 
> > > > > > > > > > src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/
> > > > > > > > > > ig/modules/
> > > > > > > > > > translatemypage.xml&up_source_language=da&w=160&h=60&title=&border=&output=
> > > > > > > > > >  js"></
> > > > > > > > > > script>
>
> > > > > > > > > > Looking at your page I don't see that code anywhere.
>
> > > > > > > > > > Best,
> > > > > > > > > > Josh
>
> > > > > > > > > > On Aug 26, 5:15 am, Henrik1966 <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > > > > I've integrated Google Translate on my website (under 
> > > > > > > > > > > construction):http://web.me.com/hekock/Tungmetalforgiftning
>
> > > > > > > > > > > However, I can't make it translate into any language I 
> > > > > > > > > > > choose from the
> > > > > > > > > > > pop-up menu.
>
> > > > > > > > > > > Am I doing anything wrong here?
>
> > > > > > > > > > > Cheers,
> > > > > > > > > > > Henrik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Translate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-translate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to