def is_default_locale(locale): """ Returns whether the locale is the default locale. """ return locale == supported_language(settings.LANGUAGE_CODE)