using Google Translate in FrontPage

E

ews

I'm trying to use Google Translate on a website that's designed in FrontPage.
Everytime I put the proper hyperlink on the index page (in English), it will
translate the page (into Spanish), but all of the pictures are gone and some
of the formatting is changed (random things are suddenly bold or underlined,
but in no particular pattern). Where the pictures were, there are boxes with
a small red "x" in the upper left (broken link?).

I've searched extensively for a solution. Please help! Thank you for your
time.
 
R

Ronx

The images are not available because they are not on Google's server.
When you click the translate button, look at the URL for the resulting
page - it starts
http://translate.googleusercontent.com/ which means the translated page is
coming from Google, not from your site.

The only way to show the images is to make all links to the images absolute.
For example, for my home page every image would have to be linked similar
to:

<img src="http://www.rxs-enterprises.org/images/tp.gif" alt="transparent
gif" width="200" height="50" />
The same applies

--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 
E

ews

Ron-
Thanks for the quick reply.
I'm still foggy on hor to make all of the images absolute. Is there
something I can do that would blanket all of them, or do I need to do them
one-by-one?
 
T

Tom Willett

One by one.
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage Since 1997
---------------------------
: Ron-
: Thanks for the quick reply.
: I'm still foggy on hor to make all of the images absolute. Is there
: something I can do that would blanket all of them, or do I need to do them
: one-by-one?
:
: "Ronx" wrote:
:
: > The images are not available because they are not on Google's server.
: > When you click the translate button, look at the URL for the resulting
: > page - it starts
: > http://translate.googleusercontent.com/ which means the translated page
is
: > coming from Google, not from your site.
: >
: > The only way to show the images is to make all links to the images
absolute.
: > For example, for my home page every image would have to be linked
similar
: > to:
: >
: > <img src="http://www.rxs-enterprises.org/images/tp.gif" alt="transparent
: > gif" width="200" height="50" />
: > The same applies
: >
: > --
: > Ron Symonds
: > Microsoft MVP (Expression Web)
: > http://www.rxs-enterprises.org/fp
: >
: > Reply only to group - emails will be deleted unread.
: >
: >
: >
: > : > > I'm trying to use Google Translate on a website that's designed in
: > > FrontPage.
: > > Everytime I put the proper hyperlink on the index page (in English),
it
: > > will
: > > translate the page (into Spanish), but all of the pictures are gone
and
: > > some
: > > of the formatting is changed (random things are suddenly bold or
: > > underlined,
: > > but in no particular pattern). Where the pictures were, there are
boxes
: > > with
: > > a small red "x" in the upper left (broken link?).
: > >
: > > I've searched extensively for a solution. Please help! Thank you for
: > > your
: > > time.
: >
: >
 
R

Ronx

If (and only if) ALL your pages are in the root folder - that is the same
folder as your home page - then you can use find and replace to change the
image paths to absolute:

Find src="
Replace with src="http://www.example.com/

where www.example.com is your domain.
If any pages are in folders different to your home page, then as Tom said -
change them page by page. You could adjust the search above to
Find src="../../../
with the same replace string, then repeat with
Find src="../../
with the same replace string, then repeat with
Find src="../
again with the same replace string
but results for all four searches depend on exactly what markup you use for
images, and the depths of any folders used.
Make a backup first so if it goes wrong - highly possible unless you get the
search order right - you have something to go back to.
Don't be surprised if the second or third searches do not change anything -
your folder structure may not go that deep. Also note that the searches
above will change any links to external Javascript files that are in your
website.

There are caveats with using absolute links -
1) FrontPage will no longer change links if you move or rename the images.
2) You will need an internet connection when designing so you can see the
images
3) All the images must be on your server, even when designing
4) Every time you save a page, FrontPage will offer to import the images
from the server - this will become very annoying.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top