module/User/src/Grid/User/View/Helper/UserLocale.php
public function getLocale()
    {
        $auth = $this->getView()
                     ->authentication();

        if ( $auth->hasIdentity() )
        {
            $locale = $auth->getIdentity()->locale;
        }
        else
        {
            $locale = Locale::getDefault();
        }

        return $locale;
    }
public function getLocale()
    {
        $auth = $this->getView()
                     ->authentication();

        if ( $auth->hasIdentity() )
        {
            $locale = $auth->getIdentity()->locale;
        }
        else
        {
            $locale = Locale::getDefault();
        }

        return $locale;
    }
public function getLocale ( ) { $ auth = $ this -> getView ( ) -> authentication ( ) ; if ( $ auth -> hasIdentity ( ) ) { $ locale = $ auth -> getIdentity ( ) -> locale ; } else { $ locale = Locale :: getDefault ( ) ; } return $ locale ; }
Get user-locale

@return string
Get user - locale