Hi Andy, thank you. Yes I did see that support page… though I am very new to PHP and it was kind of confusing for me. Can you walk me through a bit using a couple of my actual categories?
I wasnt sure if it should be written “en-espanol” or “in-Spanish” for each category?
And do I write the same for each English category too?
Sorry, I am a newb at php. Thank you so much
Is this even close as an example? I have a category for Natural building, in spanish it is Construcción-Natural.
‘natural-building-in-english’,
‘natural-building-in-spanish’,
then repeat in spanish?
‘Construccion-Natural-en-english’,
‘Construccion-Natural-en-inglés’,
Or just write the one corresponding to the correct language or repeat each category 4 times like above? So sorry. Thank you for walking me through a bit.
—————————————————————————–
Your format below
add_filter( 'teccc_add_terms', function(){
$translated_terms = array(
'atelier-cuisine-en-anglais',
'atelier-cuisine-en-espagnol',
'atelier-cuisine-en-francais',
'cooking-classes-in-english',
'cooking-classes-in-french',
'cooking-classes-in-spanish',
);
return $translated_terms;
});