src/RocknRoot/StrayFw/Locale/Locale.php
public static function setCurrentLanguage($language)
    {
        self::$currentLanguage = $language;
        Session::set('_stray_language', self::$currentLanguage);
        setlocale(LC_ALL, $language);
    }
public static function setCurrentLanguage($language)
    {
        self::$currentLanguage = $language;
        Session::set('_stray_language', self::$currentLanguage);
        setlocale(LC_ALL, $language);
    }
public static function setCurrentLanguage ( $ language ) { self :: $ currentLanguage = $ language ; Session :: set ( '_stray_language' , self :: $ currentLanguage ) ; setlocale ( LC_ALL , $ language ) ; }
Set current language. Should be IETF language tag compliant.

@static
@param string $language
Set current language . Should be IETF language tag compliant .