On Fri, Jun 09, 2000 at 06:47:46PM +0100, Mel wrote:
>> Has anyone ever had the problem of writing a multilingual website?
>> I'm aware of the browser and apache preference for specifing what language
> you want but I'm more interested in seeing is there a clever way of
> keeping the site in one tree rather than having multple translations of
> the site.
>> Is there some standard approach using some combination of string tables
> and databases (for dynamic content) for maintaining a multi-lingual
> website?
>> Details of possible relevance
>> Language: PHP
> Database: mySQL
> Server: II^H^H Apache :-)
>Not sure if it's standard, but talk to the webmaster's at debian.org.
They have some way where you can set the language in the browser, and
it'll grab the right file from apache.
I know that if you have:
index.html.en
index.html.fr
index.html.xx
Apache will serve them out correctly once it has the right request coming
in. (Grab a pristine apache source tarfile, and have a look at the
htdocs in there).
L.
--
Liam Bedford | Obscure, la force est noire
System Administrator | Comme le chateau où flotte l'etendard,
WBT Systems, Block 2, | notre drapeau. Sois sûr, que sous les
Harcourt Centre, Harcourt St. | feux, la verite est masquee
01-4170100 | Viens, bascule de notre côte, obscur
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!