#NEWLINE# @ property #NEWLINE# def all_lang_by_tuple( self ) : #NEWLINE# #INDENT# " \n        Get all languages by a list of tuple.\n        Return \n        [   (u'ar', u'Arabic'), \n            (u'cn', u'Chinese'), \n            (u'de', u'German'), \n            (u'en', u'English'), \n            (u'es', u'Spanish'), \n            (u'fr', u'French'), \n            (u'gr', u'Greek'), \n            (u'it', u'Italian'), \n            (u'jp', u'Japanese'), \n            (u'no', u'Norwegian'), \n            (u'pt', u'Portuguese'), \n            (u'ru', u'Russian'), \n            (u'tr', u'Turkish')\n        ]\n\n        " #NEWLINE# names = self . get_all_lang_by_code ( g . lang ) #NEWLINE# return [ ( x , y ) for ( x , y ) in sorted ( names [ 'value' ] . iteritems ( ) ) ]