public function getDoubledLocale()
    {
        $locale = $this->getLocale();

        if (stristr($locale, '-') === false) {
            $locale = $locale.'-'.$locale;
        }

        return $locale;
    }
public function getDoubledLocale()
    {
        $locale = $this->getLocale();

        if (stristr($locale, '-') === false) {
            $locale = $locale.'-'.$locale;
        }

        return $locale;
    }
public function getDoubledLocale ( ) { $ locale = $ this -> getLocale ( ) ; if ( stristr ( $ locale , '-' ) === false ) { $ locale = $ locale . '-' . $ locale ; } return $ locale ; }
Returns the locale as doubled locale value like "de" will be "de-de" to
equalite the format with values like "de-at", "en-gb" ...

@author Benjamin Carl <opensource@clickalicious.de>

@return string The formatted locale e.g. "de-de" ...
Returns the locale as doubled locale value like de will be de - de to equalite the format with values like de - at en - gb ...