According to https://web2py.com/books/default/chapter/29/4, under 
"Parameter-based system", the expected behavior is:

1.

http://domain.com/it/static/filename

will be mapped to:

1.

applications/myapp/static/it/filename

if that file exists. If it doesn't, then URLs like:

1.

http://domain.com/it/static/base.css

will still map to:

1.

applications/myapp/static/base.css

(because there is no static/it/base.css).

But "it/static/base.css" is not mapping to "myapp/static/base.css".


On Thursday, May 17, 2012 10:32:23 AM UTC-3, Jonathan Lundell wrote:
>
> On May 17, 2012, at 6:20 AM, csantos wrote:
>
> Yes, but there's a bug associated with this feature in the latest release. 
> For more info, check this out: 
> http://code.google.com/p/web2py/issues/detail?id=798&sort=-id
>
>
> BTW, that issues says:
>
> 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).
>
>
> That's actually the intended behavior. There *are* some errors in the 
> documentation that need fixing. Where in the docs did you find the 
> /app/static/lang/... pattern?
>

Reply via email to