On Tuesday, August 16, 2011 12:09:45 PM UTC-4, Richard wrote:
>
> Hello,
>
> Consider this little change at admin app line 1195 of default
> controller under 1.98.2 :
>
> def update_languages():
> """ Update available languages """
>
> app = get_app()
> update_all_languages(apath(app, r=request))
> session.flash = T('Language files (static strings) updated')
> redirect(URL('design',args=app+'#languages')) # Line 1195
>
> Only one problem the dial (#) caracter does not seems to pass
> correctly... Don't why and I can't figure it out... Encoding
> problem..
>
In URL(), args and vars are url encoded. Instead, use the anchor argument:
URL('design',args=app,anchor='#languages')
Anthony