From: Jonas Alves 

    >> I don't know how to do that, because in the templates I might be able to 
get
    >> the URI of the current web page, but I don't know how to search if the 
URI 
    >> contains something like lang=en and change it with lang=fr, or if it 
doesn't
     >> contain that and I need to add it.

  > Why not use $c->uri_with(lang => $lang) ?

  Thank you. I didn't know about $c->uri_with.

  Octavian
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to