Forum Moderators: open

Message Too Old, No Replies

Multi-lingual site in a frameset

Can the frameset's title tag have a lang attribute?

         

HitProf

12:43 am on Dec 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ahem, stupid question from a non-techie:
can a <title> tag have a lang attribute, perhaps like
<title lang="xx">xx title</title> +
<title lang="yy">yy title</title>?

Is this OK?

And how do I make this multi lingual:
<meta http-equiv="content-language" content="xx">?
Is that simply "xx,yy"?

(W3C site says multiple languages are OK, but I couldn't find how.)

I'm asking this for the frameset of a bilingual site. All pages are either xx or yy, but the site has only one frameset. Multiple domains are not an option :(

Thanks in advance.

<unable to edit typo in title, sorry :(>

tedster

1:34 am on Dec 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No, title tags do not take a lang attribute. And no matter how you approach the situation of a bilingual page, I doubt that search engines or browsers are going to get it right for you.

I'd think about how to execute two different framesets on the site - one for each language. You would be able to modify the orphaned content page javascript [webmasterworld.com] approach to pop each orphaned page into the frameset for the correct language.

Yes, you would still have an issue with the title tag for the index page. But every other page on the site would be fine.

HitProf

1:57 am on Dec 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks tedster, I'll check it out.

We have indeed two framesets but my concern was the homepage title as Google loves it so much.

Also like to submit to local directories and it looks so stupid if the title is in a different language.

HitProf

3:07 pm on Dec 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



EUREKA - I've found it - or not?

Both languages have their own index.html, one is in a directory and the other one in the root.

What if I also forced the one in the root to a directory and make the index.htm in the root "noindex, follow" (ahum, I'm still not sure this is a good idea).

Then I have 2 seperate sites which can be submitted indiviually and Google will show the correct title in the respective languages.

Would this be correct?