#NEWLINE# def permalink_in_lang( func ) : #NEWLINE# #INDENT# from transurlvania.urlresolvers import reverse_for_language #NEWLINE# def inner( * args , **kwargs ) : #NEWLINE# #INDENT# bits = func ( * args , ** kwargs ) #NEWLINE# return reverse_for_language ( bits [ 0 ] , bits [ 1 ] , None , * bits [ 2 : 4 ] ) #NEWLINE# #UNINDENT# return func