def METHOD_NAME(self, name, lang):
    if self.site.config['PRETTY_URLS']:
        return [_f for _f in [
            self.site.config['TRANSLATIONS'][lang],
            'series',
            slugify(name),
            self.site.config['INDEX_FILE']] if _f]
    else:
        return [_f for _f in [
            self.site.config['TRANSLATIONS'][lang],
            'series',
            slugify(name) + ".html"] if _f]