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
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
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
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:
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
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
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
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
--~--~-~--~~---