original_string: public static function getLanguage()
  	{
  		if (!self::$language)
  		{
  			$locale = Config::get()->get('language.language');
  			$debug = Config::get()->get('language.debug');
  			self::$language = Language::getInstance($locale, $debug);
  
  			Text::setLanguage(self::$language);
  		}
  		return self::$language;
  	}
code: public static function getLanguage()
  	{
  		if (!self::$language)
  		{
  			$locale = Config::get()->get('language.language');
  			$debug = Config::get()->get('language.debug');
  			self::$language = Language::getInstance($locale, $debug);
  
  			Text::setLanguage(self::$language);
  		}
  		return self::$language;
  	}
code_tokens: public static function getLanguage ( ) { if ( ! self :: $ language ) { $ locale = Config :: get ( ) -> get ( 'language.language' ) ; $ debug = Config :: get ( ) -> get ( 'language.debug' ) ; self :: $ language = Language :: getInstance ( $ locale , $ debug ) ; Text :: setLanguage ( self :: $ language ) ; } return self :: $ language ; }
docstring: Get a language object.
  
  Returns the global {@link JLanguage} object, only creating it if it doesn't already exist.
  
  @return  Language object
  
  @see     Language
  @since   11.1
docstring_tokens: Get a language object .