public function init_locales() {
        if (!empty($this->textdomain) && $this->locales_initialized !== true) {
            load_plugin_textdomain($this->textdomain, true, $this->get_id());
            $this->locales_initialized = true;
        }
    }
public function init_locales() {
        if (!empty($this->textdomain) && $this->locales_initialized !== true) {
            load_plugin_textdomain($this->textdomain, true, $this->get_id());
            $this->locales_initialized = true;
        }
    }
public function init_locales ( ) { if ( ! empty ( $ this -> textdomain ) && $ this -> locales_initialized !== true ) { load_plugin_textdomain ( $ this -> textdomain , true , $ this -> get_id ( ) ) ; $ this -> locales_initialized = true ; } }
Initialize the localization.

@return void
Initialize the localization .