RE: Config problems (more - new, clean setup)

"Luis M" <[email protected]> Fri, 12 Mar 2004 01:08:39 -0500
Newsgroups gmane.comp.cms.phpslash.user
Message-ID <[email protected]>
>Ok, I've been playing around with the setup and I think I've found some 
>issues.
>
>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.

----)(-----
Luis Mondesi
System Administrator
LatinoMixed.com

"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 ! 
http://search.msn.fr/worldwide.asp



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click