Example #1
0
def get_kuma_languages():
    """
    Cache of settings.LANGUAGES, with Kuma keys, for easy lookups by key.

    This is identical to Django's get_languages, but the name makes it
    clearer that Kuma language codes are used.
    """
    return _django_get_languages()
Example #2
0
File: i18n.py Project: Elchi3/kuma
def get_kuma_languages():
    """
    Cache of settings.LANGUAGES, with Kuma keys, for easy lookups by key.

    This is identical to Django's get_languages, but the name makes it
    clearer that Kuma language codes are used.
    """
    return _django_get_languages()