def METHOD_NAME(self, dirname):
    for basename in os.listdir(dirname):
        if basename == 'locale':
            continue
        path = os.path.join(dirname, basename)
        if os.path.isdir(path):
            self.METHOD_NAME(path)
            continue
        if not path.endswith('.md'):
            continue
        print(path)
        localedirname = os.path.join(dirname, 'locale')
        if not os.path.exists(localedirname):
            print('-> no translations')
            continue
        for locale in os.listdir(localedirname):
            localepath = os.path.join(localedirname, locale, basename)
            if not os.path.exists(localepath):
                continue
            print('-> '+localepath)
            with open(path) as fd:
                original = safe_decode(fd.read())
            with open(localepath) as fd:
                translation = safe_decode(fd.read())
            self.validateTranslation(original, translation,
                self.check_punctuation(localepath), whitespace=False)