src/over/widgets/TimeAgo.php
protected function prepareLang()
    {
        $lang = $this->language;
        if (strpos($lang, '-') !== false) {
            $lang = strtolower(explode('-', $lang)[0]);
        }
        return $lang;
    }
protected function prepareLang()
    {
        $lang = $this->language;
        if (strpos($lang, '-') !== false) {
            $lang = strtolower(explode('-', $lang)[0]);
        }
        return $lang;
    }
protected function prepareLang ( ) { $ lang = $ this -> language ; if ( strpos ( $ lang , '-' ) !== false ) { $ lang = strtolower ( explode ( '-' , $ lang ) [ 0 ] ) ; } return $ lang ; }
Prepare name of language.
@return string
Prepare name of language .