parameters: ()
return_statement: return lang
docstring: Return the proper language by get_language()
docstring_summary: Return the proper language by get_language()
docstring_tokens: Return the proper language by get_language ()
function: def get_proper_language():
      """
      Return the proper language by get_language()
      """
      config = get_config()
      lang = config['summernote'].get('lang')
  
      if not lang:
          return config['lang_matches'].get(get_language(), 'en-US')
  
      return lang
function_tokens: def get_proper_language ( ) : config = get_config ( ) lang = config [ 'summernote' ] . get ( 'lang' ) if not lang : return config [ 'lang_matches' ] . get ( get_language ( ) , 'en-US' ) return lang