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;
        }
    }