Solved the breadcrumb issue

miraclegr's picture
Offline
Joined: 04/27/2010
Juice: 40
Solved the breadcrumb issue

After a few tries I have managed to find a solution for the breadcrumb issue I had.

In the uc_catalog.module, after the "$current = array_pop($parents);" line I added:

      $current->name = tt("taxonomy:term:$current->tid:name", $current->name, NULL, FALSE);
      if ($current->description) {
        $current->description = tt("taxonomy:term:$current->tid:description", $current->description, NULL, FALSE);
      }

So now I get the translated term wherever I am.

How to translate the taxonomy terms in Calatolg block? By: drupalina (20 replies) Mon, 09/21/2009 - 07:47