Re: Multilingual sites and 2 characters language code in URL

2013-08-25 Thread Vanja Dizdarević
I see a lot of these requests for Router acknowledging subdomains... Hope any Devs are listening. :) -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" gr

Re: Multilingual sites and 2 characters language code in URL

2013-08-12 Thread André Luis
My suggestion is to create a RouteClass to use with subdomains languages... ex: http://fr.example.com/products or http://us.example.com/products Em terça-feira, 6 de agosto de 2013 04h27min45s UTC-3, her...@springcard.com escreveu: > > Hello, > > I'm creating a multiligual website with language

Re: Multilingual sites and 2 characters language code in URL

2013-08-11 Thread lowpass
The 2-letter codes work just fine. I don't know why the Cake devs chose to make the 3-letter codes the default. I think it's wrong-headed. But, again, the 2-letter works without any configuration required, so no biggie. On Tue, Aug 6, 2013 at 3:27 AM, wrote: > Hello, > > I'm creating a multilig

Re: Multilingual sites and 2 characters language code in URL

2013-08-06 Thread ADmad
Sure you can. Just use the 2 letter codes in url and set the same for Config.language. Keep using 3 letter code for locale directories. The L10n class takes care of mapping the 2 letter codes to 3 letter directories. On Tuesday, August 6, 2013 12:57:45 PM UTC+5:30, her...@springcard.com wrote:

Multilingual sites and 2 characters language code in URL

2013-08-06 Thread herve . t
Hello, I'm creating a multiligual website with language code in the URL, for example : http://www.example.com/*fre*/products or : http://www.example.com/*eng*/products or : http://www.example.com/*ita*/products Is there a way to use two letters for the language code ? *fr* instead of *fre*, *it

Re: language code in url

2006-08-26 Thread Ámon Tamás
RosSoft írta: > do a seach in this forum > > Thanks I found it the solution is: $Route->connect('/en/:controller/:action/*', array('locale' =>'en')); -- Ámon Tamás http://amon.hu --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: language code in url

2006-08-25 Thread RosSoft
do a seach in this forum --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTE

language code in url

2006-08-25 Thread Ámon Tamás
Hello! http://example.com/en/controller/index or http://example.com/de/controller/index etc. I like every url like this. I like the firs param (en|de) get to a variables and only others put to the dispatcher. How can I make this? -- Ámon Tamás http://amon.hu --~--~-~--~~---