#NEWLINE# def load_custom_aliases( db , path ) : #NEWLINE# #INDENT# '\n    Load custom language aliases that are given in a CSV file.\n    ' #NEWLINE# data = path . open ( encoding = 'utf-8' ) #NEWLINE# for line in data : #NEWLINE# #INDENT# ( typ , datalang , subtag , name ) = line . rstrip ( ) . split ( ',' , 3 ) #NEWLINE# db . add_name ( table = typ , subtag = subtag , datalang = typ , name = name , order = 1000 )