Re: [Catalyst] Choosing the language

2009-10-14 Thread Wade Stuart
On Tue, Oct 13, 2009 at 9:35 AM, Pavel O. Korovkin wrote: > On Tue, Oct 13, 2009 at 4:16 PM, Octavian Râsnita > wrote: > > From: "Larry Leszczynski" > >> > >> Hi (again) Octavian - > >> > >>> Is there a recommendation for storing the language ID in the URL in > order > >>> to > >>> be as easy to

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 twe

Re: [Catalyst] Choosing the language

2009-10-13 Thread Pavel O. Korovkin
On Tue, Oct 13, 2009 at 4:16 PM, Octavian Râsnita wrote: > From: "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'

Re: [Catalyst] Choosing the language

2009-10-13 Thread Octavian Râsnita
From: "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 i

Re: [Catalyst] Choosing the language

2009-10-12 Thread Bill Moseley
2009/10/12 Octavian Râşniţă > 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, although it does

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: Catalyst@lists.sc

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 > loo

[Catalyst] Choosing the language

2009-10-12 Thread Octavian Râşniţă
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, although it doesn't look nice. Putting it as the fi