It can be done differently but not using cookies :) Anyways, that's only required if you want to change from the language you configured your browser to use... not a big deal imo.
Florent On Mon, Mar 19, 2012 at 02:33:02AM +0000, Ximin Luo wrote: > Oh, right. Well if all it does is set cookies that can probably be done some > other way. TBH I'm still in favour of having /%lang%/ in the path. > > On 19/03/12 02:13, Steve Dougherty wrote: > > Leah is correct - Florent added Javascript to set cookies for > > determining the language served by Apache. > > > > On 03/18/2012 10:04 PM, Ximin Luo wrote: > >> I wasn't aware any previous method used javascript, but we > >> implemented a non-javascript method quite recently that checks the > >> client browser's Accept-Language HTTP headers. Have a look at > >> Steve's thread (in this same mailing list) titled "Spanish > >> Translation Deployment Complete". > > > >> There is JS on the site currently but (I believe) that has nothing > >> to do with translations. > > > >> On 19/03/12 01:04, Leah Hicks wrote: > >>> I have done my research, although I have to admit wordpress is > >>> not perfect. If it is /really/ that big of an issue then we will > >>> simply not use it. And yes I'm aware of the current > >>> implementation however it uses javascript which will not run if > >>> users have javascript disabled. If someone can find a workaround > >>> for that I'm golden. > >>> > >>> > >>> _______________________________________________ Devl mailing > >>> list Devl at freenetproject.org > >>> https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl > > > > > > > > > >> _______________________________________________ Devl mailing list > >> Devl at freenetproject.org > >> https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl > > _______________________________________________ > > Devl mailing list > > Devl at freenetproject.org > > https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl > > -- > GPG: 4096R/5FBBDBCE > https://github.com/infinity0 > https://bitbucket.org/infinity0 > https://launchpad.net/~infinity0 > > _______________________________________________ > Devl mailing list > Devl at freenetproject.org > https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
