src/mako/i18n/I18n.php
protected function loadStrings(string $language, string $file): void
	{
		if($this->cache !== null)
		{
			if($this->loadFromCache($language, $file))
			{
				return;
			}

			$this->rebuildCache = true;
		}

		$this->strings[$language][$file] = $this->loader->loadStrings($language, $file);
	}
protected function loadStrings(string $language, string $file): void
	{
		if($this->cache !== null)
		{
			if($this->loadFromCache($language, $file))
			{
				return;
			}

			$this->rebuildCache = true;
		}

		$this->strings[$language][$file] = $this->loader->loadStrings($language, $file);
	}
protected function loadStrings ( string $ language , string $ file ) : void { if ( $ this -> cache !== null ) { if ( $ this -> loadFromCache ( $ language , $ file ) ) { return ; } $ this -> rebuildCache = true ; } $ this -> strings [ $ language ] [ $ file ] = $ this -> loader -> loadStrings ( $ language , $ file ) ; }
Loads all strings for the language.

@param string $language Name of the language pack
@param string $file     File from which we are loading the strings
Loads all strings for the language .