Hi,

I was playing a lot with routes, router and rewrite.py to reach url
rewriting for translation but I am missing something.

I have a controller:

# *default*.py

*def articles():
>      from handlers import articles*

  *   response.view = articles.views['list']*

*     return articles.list*


This action can be accessed in: *http://....../app/default/articles*

I want the application to be translated including the urls.

So in english
http://....../app/*default*/*articles*

in portuguese:
http://....../app/*inicio*/*artigos*

In spanish
http://....../app/*principal*/*articulos*

In Estonian
http://....../app/*peamine*/*artiklid*

Using routes.py, how can I make all the above urls to call default.py:
articles function ?

Thanks

-- 

Bruno Rocha
[http://rochacbruno.com.br]

Reply via email to