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
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* instead of *ita* and *en *for *eng *?
Last thing
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
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
:
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
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
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 the
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