Skip to main content

get_languages

Cache of settings.LANGUAGES in a dictionary for easy lookups by key. Convert keys to lowercase as they should be treated as case-insensitive.

def get_languages() - > dict

Cache of settings.LANGUAGES in a dictionary for easy lookups by key. Convert keys to lowercase as they should be treated as case-insensitive.

Returns

TypeDescription
dictA dictionary mapping lowercase language codes to their respective display names or configuration values