Forum OpenACS Q&A: Multiple Language Static Pages

Collapse
Posted by Jon Griffin on
I have a site (salsablanca.com) where almost all of my content is in both English and Spanish.

This site has been in existence since 1994 or so and it is hard to remap my urls (even with aolserver).

I am wondering what people are doing in similar cases. I am willing to bite the bullet and remap everything with some filters, but am a little up in the air about the best way to do this. Also, what html headers exist to specify which language a page is written in.

This sounded like an easy problem until I started thinking about it.

Collapse
Posted by Vadim Makarov on
what html headers exist to specify which language a page is written in

There probably are such headers, but you need not use them. What matters is properly specified charset, which in your case seems to be Windows-1252 for both English and Spanish pages. Configure AOLServer to return this charset in server response headers, and you're fine.

You can view server response headers using e.g. Sam Spade "browser". Currently you specify no charset there, only in the page headers. It's better to specify the charset in both headers, and definitely NOT different charsets, so check it.