def get_current_language():
 language_code = translation.get_language()
 return get_language_code(language_code)

def get_current_language ( ) : language_code = translation . get_language ( ) return get_language_code ( language_code )
returns the currently active language its a replacement for djangos translation .