Hi,
In my routes.py, I added:

routers = dict(
# base router
BASE = dict(default_application = 'myapp'),
myapp = dict(languages=['en', 'pt-br'], default_language='pt-br'),
)

But that completely breaks the links to my static files. For instance, the 
URL "/myapp/static/images/poweredby.png" became 
"/myapp/*pt-br/*static/images/poweredby.png", 
which is not what the documentation specified (worst case scenario it 
should be "/myapp/*static/pt-br/*images/poweredby.png" instead - but I take 
web2py would detect that the file is missing and would try some other path, 
such as  "/myapp/static/images/poweredby.png"?). Is that a bug? If not, how 
can I deal with it?

PS: I also included "request.uri_language: T.force(request.uri_language)" 
in one of my models, but I'm sure this is not related to the reported 
issue...

Reply via email to