Closed (fixed)
Project:
Taxonomy Filter
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
15 Feb 2010 at 14:40 UTC
Updated:
30 Oct 2010 at 18:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
solotandem commentedThanks for the suggestion. I have marked this as a feature request.
Can you provide a patch to implement this?
Comment #2
ak commentedHi, until now I only can share my research. The add on module of Search Lucene API http://drupal.org/project/i18nluceneapi provides the sensible display of translated terms. Yet I wasn't able to extract useful code out of it to implement this feature elsewhere. Btw, the views module doesn't handle translated terms right as well.
Comment #3
ak commentedAfter a little more research I got a simple snipped that displays terms correctly while respecting the sites language. However I searched in taxonomy_filter.module but couldn't locate where the term link name is build to replace it. Well, here's the code that respects translated terms. It shouldn't be al that hard to implement this feature. Do you have a hint where this must be implemented in your module?
where tt() does the magic to display the right translation of the term name …
tt("taxonomy:term:$term->tid:name", $term->name)
Please help, this would be a great feature for your great module.
Comment #4
solotandem commentedThanks for doing the research. Let me see if I can implement this in the next 7 days.
Comment #5
ak commentedHi there, have you had a look on this jet? Greets!
Comment #6
solotandem commentedWould you be able to test the attached patch and report back your results along with a description of how you tested the patch (e.g. the test environment of nodes, taxonomy, etc.)?
Comment #7
majabee commentedHi, many thanks for this patch.I tested it and it works really good for taxonomy terms. What I need in addition to those terms is the Vocabulary name to be displayed correctly on the sites chosen language. When I switch the language. all terms are correctly displayed in the chosen language but the Vocabulary names still remain the same. If you could enable this either, this would be fantastic.
I think it should be something like this code below.
tt("taxonomy:vocabulary:$vocabulary->vid:name", $vocabulary->name)
It would be just perfect if you could find the time to do this. Many thanks for your help anyways.
(And I apologise for my bad english.)
Comment #8
ludo.rI second this feature request, as i had the same problem in an older project with vers 6.x-1.0
By the way, Apache Solr Search had the exact same issue.
Comment #9
Andrew Gorokhovets commentedSubscribe
Comment #10
ludo.rNo news about this issue?
It seems so natural to have taxonomy labels translated in the correct language, but i dont know how hard it is to fix this issue...
Comment #11
solotandem commentedIn the next dev release, implemented internationalization for the vocabulary and term names that display in a filter menu. The translation language used is the language for the global $user. Let me know if this is the way it is normally handled.
NOTE: I am asking a few people to download the dev release and try out the internationalization support. If a few people comment here with their concurrence, then I will make a new release 6.x-1.4. If there are other things to change, then we will address those items. Thanks.
Comment #13
solotandem commentedIn the absence of any negative feedback, am marking this fixed.