This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This thread is resolved. Here is a description of the problem and solution.

Problem: nel tema BosMarket quando si crea una traduzione, il breadcrumb inserisce anche le priorità di traduzione Solution: vedi Relevant Documentation Relevant Documentation: https://wpml.org/forums/topic/translation-priority-appears-in-breadcrumbs-optional-required-not-needed/#post-3812799

This topic contains 5 replies, has 2 voices.

Last updated by robertoS-37 5 months ago.

Assigned support staff: Laura.

Author Posts
May 9, 2019 at 1:36 pm

robertoS-37

Once I've activated all the plugins needed to get Woocommerce translated I noticed I had started getting the translation priority term in the breadcrumbs, between Home and the page 's name, like this

Home > Optional(this shouldn't be here) > Page's name

This seems to appear just on my main language (Italian) because if I go to the English page I get the right breadcrumbs.

Could it be something related to the translation management plugin?

The theme I'm using is BosMarket

This is the link of the page:

hidden link

now is in maintenance mode so I'll send the accesses to allow you to see it.

If you need to duplicate it to create a local version of the web site, go ahead, no problem.

May 9, 2019 at 2:28 pm
May 10, 2019 at 9:18 am #3782591

Laura
Supporter

Languages: English (English ) Italian (Italiano ) Portuguese (Brazil) (Português )

Timezone: Europe/Rome (GMT+02:00)

Ciao,

ho scalato il ticket al team di compatibilità dopo alcune prove. Ho visto che il problema sussiste anche con Traduzione Stringhe quindi proabilmente il breadcrumb "cattura" qualcosa che non dovrebbe.

May 14, 2019 at 9:24 am #3805157

robertoS-37

Ci sono novità?

Grazie

May 14, 2019 at 9:44 am #3805411

Laura
Supporter

Languages: English (English ) Italian (Italiano ) Portuguese (Brazil) (Português )

Timezone: Europe/Rome (GMT+02:00)

Ciao,

il ticket è ulteriormente scalato agli sviluppatori, ma non abbiamo workaround al momento.

May 15, 2019 at 6:57 am #3812799

Laura
Supporter

Languages: English (English ) Italian (Italiano ) Portuguese (Brazil) (Português )

Timezone: Europe/Rome (GMT+02:00)

Ciao,

puoi provare questo workaround? Nella Sandbox funziona.
Apri il file wp-content/themes/bosmarket/lib/utils.php e alla riga 819, dopo

$tax = get_object_taxonomies( $post->post_type );

aggiungi

if (($key = array_search("translation_priority", $tax)) !== false) {
    unset($tax[$key]);
}

Attenzione che in caso di aggiornamento del tema, questa modifica andrebbe persa.
Fammi sapere se così risolvi o se hai bisogno di ulteriore assistenza.

May 15, 2019 at 9:32 am #3814473

robertoS-37

My issue is resolved now. Thank you!