Closed (fixed)
Project:
Faceted Search
Version:
6.x-1.0-beta1
Component:
Taxonomy Facets
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2009 at 20:51 UTC
Updated:
25 Mar 2009 at 08:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
amccann commentedAre you use CCK Taxonomy? I'm running into the same issue but I have currently set it up using CCK facet.
Comment #2
artem_sokolov commentedNo, I use core taxonomy module.
Comment #3
amccann commentedOK. I was hoping my issue was CCK Taxonomy support.
I will sponsor a getting i18n support into this module if that will help.
Comment #4
artem_sokolov commentedI tried to answer the question by reading the code. As far as I could conclude from it, this is no way to get taxonomies translated without patching.
So I wrote a small patch that adds a check (in 3 different places) for i18n module existence and, if the module exists, uses it for translating terms. The patch is against v. 1.35 of the taxonomy_facets.module file.
I tested it on my site (Drupal 6.9 with core taxonomy enabled, i18n module 6.x-1.0, faceted_search 6.x-1.0-beta1) and it seems to work (checked only in a guided search block).
Comment #5
artem_sokolov commentedSorry, a better one.
Comment #6
David Lesieur commentedThanks for providing this patch!
I have made some changes, though: removing the call to taxonomy_get_term() (serious performance issue), and making some simplifications.
Committed!
Comment #7
David Lesieur commentedI have also committed changes to support vocabulary name localization.
Comment #8
artem_sokolov commentedThank you very much!