diff --git a/src/calibre/web/feeds/recipes/collection.py b/src/calibre/web/feeds/recipes/collection.py index f0757d1eda..64c6c81cdf 100644 --- a/src/calibre/web/feeds/recipes/collection.py +++ b/src/calibre/web/feeds/recipes/collection.py @@ -46,7 +46,9 @@ def iterate_over_builtin_recipe_files(): def normalize_language(x: str) -> str: lang, sep, country = x.replace('-', '_').partition('_') if sep == '_': - x = f'{lang}{sep}{country.upper()}' + x = f'{lang.lower()}{sep}{country.upper()}' + else: + x = lang.lower() return x