- From: David Norris <kg9ae@geocities.com>
- Date: Mon, 25 Oct 1999 22:11:43 -0500
- To: "Nir Dagan" <nir@nirdagan.com>, "{ lordsnow }" <lordsnow@home.nl>
- Cc: <www-html@w3.org>
Bas Ruiter: >>The thing is, I make webpages in two different languages - english and >>... >>have an <EOP> which would mark a point in the document beyond which >>the browser will NOT scroll. This would make having several different >>language texts in one file possible, and would make authoring and >>maintaining multi-language pages a lot easier. And more logical. It definitely seems logical from an authoring point of view. I like the idea. You have given me quite a few interesting ideas. I've been looking for easier ways to edit multi-content resources. Nir Dagan: > If you don't want a user to have both languages in front of him, and > want to maintain your website in a different file structure then the site I have to agree with this. I wouldn't want to transfer any more data than the user actually needs. The time it takes to transfer every extra byte of information increases chances for the user to become frustrated. The physical file in the server filesystem doesn't have to be what the user gets. The browser reports to the server which languages, types, etc it understands. I think a logical thing might be to create some simple XML-ish descriptive element set that wraps around the HTML content of your document. The server could then pass that file through a simple filter which hides or displays those elements before returning the content to the browser. If, for some reason, you can't filter on the server side then you could batch build the documents before placing them in the server tree. A simple example: <TYPE content="text/html"> <LANGUAGE content="en"> <html lang="en"> <title>The Beach</title> <p>Life is a beach!</p> </html> </LANGUAGE> <LANGUAGE content="es"> <html lang="es"> <title>La Playa</title> <p>¡La vida es una playa!</p> </html> </LANGUAGE> </TYPE> -- ,David Norris World Wide Web - http://www.webaugur.com/dave Page via mail - 412039@pager.mirabilis.com ICQ Universal Internet Number - 412039 E-Mail - dave@webaugur.com
Received on Monday, 25 October 1999 23:13:28 UTC