@lists.zend.com
Date: Fri, 27 Feb 2009 19:24:24 +
Subject: RE: [fw-general] Zend_Controller_Router_Route Zend_Translate?
Ben,
I'll have to get my head around it a little more. But at first glance, this
looks absolutely perfect for the job: just what I was looking for. Thanks a lot
To: fw-general@lists.zend.com
Date: Fri, 27 Feb 2009 19:24:24 +
Subject: RE: [fw-general] Zend_Controller_Router_Route Zend_Translate?
Ben,
I'll have to get my head around it a little more. But at first glance, this
looks absolutely perfect for the job: just what I was looking
-...@hotmail.com
To: fw-general@lists.zend.com
Date: Fri, 27 Feb 2009 19:24:24 +
Subject: RE: [fw-general] Zend_Controller_Router_Route Zend_Translate?
Ben,
I'll have to get my head around it a little more. But at first glance,
this looks absolutely perfect for the job: just what I
.
From: fire-eyed-...@hotmail.com
To: fw-general@lists.zend.com
Date: Fri, 27 Feb 2009 19:24:24 +
Subject: RE: [fw-general] Zend_Controller_Router_Route Zend_Translate?
Ben,
I'll have to get my head around it a little more
2009 19:12:04 +0100
From: m...@dasprids.de
To: fw-general@lists.zend.com
Subject: Re: [fw-general] Zend_Controller_Router_Route Zend_Translate?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pretty simple, you would make your route look like this:
:@controller/:@action or :@module
, 12 Mar 2009 19:12:04 +0100
From: m...@dasprids.de
To: fw-general@lists.zend.com
Subject: Re: [fw-general] Zend_Controller_Router_Route Zend_Translate?
Pretty simple, you would make your route look like this:
:@controller/:@action or :@module/:@controller/:@action
But really copying
@lists.zend.com
Subject: Re: [fw-general] Zend_Controller_Router_Route Zend_Translate?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ah yeah, you should add them in the reverse direction. They are always
evaluated LIFO. Also, you should remove the default routes.
Regards,
Ben
Hi y'all,
Is there any easy way to implement routes such that they honour translations as
well, without having to manually create routes for them?
For instance:
/gebruiker/aanmelden
/benutzer/anmelden
Should both route to
/user/sign-up
Or something similar.
Cheers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hehe, we just had the same topic some days ago. I solved the same
problem some time ago, with simply a new route (which
i will probably port to ZF in modified way some day). It works like this:
Fixed text is prepended with an @, while translatable
Ben,
I'll have to get my head around it a little more. But at first glance, this
looks absolutely perfect for the job: just what I was looking for. Thanks a lot!
Date: Fri, 27 Feb 2009 19:36:47 +0100
From: m...@dasprids.de
To: fw-general@lists.zend.com
Subject: Re: [fw-general
10 matches
Mail list logo