Re: [Catalyst] Choosing the language

2009-10-13 Thread Octavian Râsnita
From: Larry Leszczynski lar...@emailplus.org Hi (again) Octavian - Is there a recommendation for storing the language ID in the URL in order to be as easy to get it from there? I want to have unique links for each URL, so I can't just put it in the cookies. Using ?lang=EN seems to be the

Re: [Catalyst] Choosing the language

2009-10-13 Thread Larry Leszczynski
http://dev.catalyst.perl.org/wiki/wikicookbook/urlpathprefixing Thank you Larry. It seems to be what I need. I've seen some uses of $self which were not defined in that example. Shouldn't be __PACKAGE__ instead? Sorry, copy/paste error - $self should not be in there. I've tweaked

Re: [Catalyst] Choosing the language

2009-10-12 Thread Larry Leszczynski
Hi (again) Octavian - Is there a recommendation for storing the language ID in the URL in order to be as easy to get it from there? I want to have unique links for each URL, so I can't just put it in the cookies. Using ?lang=EN seems to be the easiest way, although it doesn't look

Re: [Catalyst] Choosing the language

2009-10-12 Thread Tomas Doran
On 12 Oct 2009, at 22:30, Octavian Râşniţă wrote: Is there a recommendation for storing the language ID in the URL in order to be as easy to get it from there? Catalyst::TraitFor::Request::PerLanguageDomains Cheers t0m ___ List:

Re: [Catalyst] Choosing the language

2009-10-12 Thread Bill Moseley
2009/10/12 Octavian Râşniţă orasn...@gmail.com Hi, Is there a recommendation for storing the language ID in the URL in order to be as easy to get it from there? I want to have unique links for each URL, so I can't just put it in the cookies. Using ?lang=EN seems to be the easiest way,