'Return language code for a language which is not activated.'

def _get_inactive_language_code(self):

    current_language = get_language()
    return [code for (code, name) in settings.LANGUAGES if (not (code == current_language))][0]
