code: def list_message_files (package, suffix=".mo"):
      
      for fname in glob.glob("po/*" + suffix):
          # basename (without extension) is a locale name
          localename = os.path.splitext(os.path.basename(fname))[0]
          domainname = "%s.mo" % package.lower()
          yield (fname, os.path.join(
              "share", "locale", localename, "LC_MESSAGES", domainname))
docs: Return list of all found message files and their installation paths.