>Ok, I've been playing around with the setup and I think I've found some
>1. It's not possible to control the language from the config file. It's
>read from the browser (shouldn't this be optional ? Some people don't want
>mixed languages on their pages)
>2. [Home page options] seems to be controlled by the browser's environment
>rather than the config.
>Is it possible to change these things ?
Yes indeed, remove all files from the "locale" directory (inside "class" or
"include" depending on what version of phpslash you are talking about),
leaving only the locale that you care (your language). Do the same for every
directory inside templates making sure that you have a language directory
that matches the one that you want to use, say "templates/fr" and have
symlinks for "en" just in case "cd templates && ln -s fr en". That will take
care of all translation issues and it will force all browsers to have
whatever language you want your page to be.
Hope that helps.
"We think basically you watch television to turn your brain off, and you
work on your computer when you want to turn your brain on" -- Steve Jobs in
an interview for MacWorld Magazine 2004-Feb
No .doc: http://www.fsf.org/philosophy/no-word-attachments.es.html
MSN Search, le moteur de recherche qui pense comme vous !
>Yes indeed, remove all files from the "locale" directory (inside "class"
>or "include" depending on what version of phpslash you are talking about),
>leaving only the locale that you care (your language). Do the
I tried doing this but get the error "ERROR: psl_getLocalinfo: file either
nonexistent or not readable:
/home/pda-nytt/class72/locale/en_US.LC_TIME.php". Since I cannot create
symlinks myself, should I just substitue this with the Norwegian version ?
Med vennlig hilsen/Sincerely,
Bachelor of IT, 4xMCP, author
Fortunately, network designers and administrators as a general rule are not
afraid of complexity (if anything, they tend to be inordinately fascinated
-- Lawrence, page 1, Using NetWare 4