Hey,

I'd suggest you subclass the Zend_Controller_Router_Route_Module class
for this. it is the default route ZF uses and it should be quite easy to
precede an additional language parameter. However you will have to think
about the common case of people just calling yourdomain.com in your
application and what you will do about this. Once you read a bit into
the code of the class, you will know what I mean.

Regards,
Tobias


2008/1/12, debussy007 <[EMAIL PROTECTED]>:
>
>
> Hi,
>
> I am internationalizating my web app and I need to know for every request
> which language is chosen.
>
> So I want to add in the start of the url something like:
> http://example.com/fr/myController/myAction
> http://example.com/en/myController/myAction
>
> But this will make zend think "fr" and "en" is a module.
>
> How can I achieve this ?
>
> Thank you for any advice !!
> --
> View this message in context:
> http://www.nabble.com/changing-the-url-tp14778862s16154p14778862.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to