def update_all_languages(application_path):
 path = pjoin(application_path, 'languages/')
 for language in oslistdir(path):
  if regex_langfile.match(language):
   findT(application_path, language[:(-3)])

def update_all_languages ( application_path ) : path = pjoin ( application_path , 'languages/' ) for language in oslistdir ( path ) : if regex_langfile . match ( language ) : findT ( application_path , language [ : ( - 3 ) ] )
note: must be run by the admin app .