On Fri, Jun 09, 2000 at 06:47:46PM +0100, Mel mentioned:
> Has anyone ever had the problem of writing a multilingual website?
Check out how IMP does it. It's quite cool. At login, it can ask you what
language you speak, from a combo box, and from that, set a cookie
"chuckmIMPlang" to "en" for english, etc.
It's got a locale/ subdir, and when it's "require"ing the message
strings, it gets the ones from the locale it needs. Dead simple.
Kate
--
"The fool must be beaten with a stick, for an intelligent person
the merest hint is sufficient" -- Zen Master Greg
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!