public function loadDomain($domain, $path = null, $default = true)
    {
        bindtextdomain($domain, $path);
        bind_textdomain_codeset($domain, 'UTF-8');

        if ($default) {
            textdomain($domain);
        }

        return $this;
    }
public function loadDomain($domain, $path = null, $default = true)
    {
        bindtextdomain($domain, $path);
        bind_textdomain_codeset($domain, 'UTF-8');

        if ($default) {
            textdomain($domain);
        }

        return $this;
    }
public function loadDomain ( $ domain , $ path = null , $ default = true ) { bindtextdomain ( $ domain , $ path ) ; bind_textdomain_codeset ( $ domain , 'UTF-8' ) ; if ( $ default ) { textdomain ( $ domain ) ; } return $ this ; }
Loads a gettext domain.

@param string $domain
@param string $path
@param bool   $default

@return self
Loads a gettext domain .