src/Sulu/Component/Localization/Localization.php
public function getLocalization($delimiter = '_')
    {
        @trigger_error(__METHOD__ . '() is deprecated since version 1.2 and will be removed in 2.0. Use getLocale() instead.', E_USER_DEPRECATED);

        $localization = $this->getLanguage();
        if (null != $this->getCountry()) {
            $localization .= $delimiter . $this->getCountry();
        }

        return $localization;
    }
public function getLocalization($delimiter = '_')
    {
        @trigger_error(__METHOD__ . '() is deprecated since version 1.2 and will be removed in 2.0. Use getLocale() instead.', E_USER_DEPRECATED);

        $localization = $this->getLanguage();
        if (null != $this->getCountry()) {
            $localization .= $delimiter . $this->getCountry();
        }

        return $localization;
    }
public function getLocalization ( $ delimiter = '_' ) { @ trigger_error ( __METHOD__ . '() is deprecated since version 1.2 and will be removed in 2.0. Use getLocale() instead.' , E_USER_DEPRECATED ) ; $ localization = $ this -> getLanguage ( ) ; if ( null != $ this -> getCountry ( ) ) { $ localization .= $ delimiter . $ this -> getCountry ( ) ; } return $ localization ; }
Returns the localization code, which is a combination of the language and the country.

@param string $delimiter between language and country

@return string
@VirtualProperty

@deprecated use getLocale instead
Returns the localization code which is a combination of the language and the country .