'translate-slugs', 'title' => __( 'Translate slugs', 'polylang' ), 'description' => $this->get_description(), 'active_option' => 'preview', ); parent::__construct( $polylang, array_merge( $default, $args ) ); } /** * Returns the module description. * * @since 3.1 * * @return string */ protected function get_description() { return __( 'Allows to translate custom post types and taxonomies slugs in URLs.', 'polylang' ); } }