src/mako/application/Application.php
public function setLanguage(array $language): void
	{
		$this->language = $language['strings'];

		foreach($language['locale'] as $category => $locale)
		{
			setlocale($category, $locale);
		}
	}
public function setLanguage(array $language): void
	{
		$this->language = $language['strings'];

		foreach($language['locale'] as $category => $locale)
		{
			setlocale($category, $locale);
		}
	}
public function setLanguage ( array $ language ) : void { $ this -> language = $ language [ 'strings' ] ; foreach ( $ language [ 'locale' ] as $ category => $ locale ) { setlocale ( $ category , $ locale ) ; } }
Sets the application language settings.

@param array $language Application language settings
Sets the application language settings .