#NEWLINE# def resolve( * args , **kwargs ) : #NEWLINE# #INDENT# locale = utils . supported_language ( translation . get_language ( ) ) #NEWLINE# path = args [ 0 ] #NEWLINE# if path . startswith ( ( '/%s/' % locale ) ) : #NEWLINE# #INDENT# path = path [ len ( ( '/%s' % locale ) ) : ] #NEWLINE# #UNINDENT# return django_resolve ( path , * args [ 1 : ] , ** kwargs )