Closed (outdated)
Project:
Autocomplete Deluxe
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Sep 2012 at 12:55 UTC
Updated:
15 Sep 2024 at 15:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sepgil commentedWe would need i18n integration, so you could start by looking at the code of the module look how it alters the taxonomy query...
Comment #2
gabidrg commentedThe attached patch implements translation support via Entity Translation. The query has been rewritten to use EntityFieldQuery (for flexibility) and conditional joins have been added as query tags. It also implements an "autocomplete_deluxe" query tag for additional query alters.
Note: this patch also addresses the issue described in https://drupal.org/node/2048563
Comment #3
zarudnyi commentedI confirm that the patch solves the problem.
Thank you gabidrg!
Comment #4
wroxbox commentedRe-rolling patch to work with drush.make builds
Comment #5
Toche commented#4 works for me.
Tested on Recruiter Distro.
Thank you
Comment #6
7thkey commentedIt doesn't work at all. When introducing new terms with the widget, there's a mismatch on the 'language' column when looking on the 'taxonomy_term_data' and 'field_data_name_field'. I've changed the slightly the #4 patch to match the language value in both columns.
Comment #7
7thkey commentedComment #8
nicola85 commentedComment #9
neeraj.knit06@gmail.com commentedI created a field with widget Autocomplete delux module and this was set with translated taxonomy but it was not seeing translated. So I created a patch for this using I18N module. Now it is getting translated but it is little bit slow.
Thanks,
Neeraj
Comment #10
neeraj.knit06@gmail.com commentedComment #11
interdruper commentedNeeraj, this issue is related to vocabularies with 'Entity translation' translation mode.. Your patch #10 is related to 'Localize' translation mode. Please open a new issue related to this last one.
Comment #12
deepak goyal commentedI am facing same issue as well.
Comment #13
RAFA3L commentedHello, the patch #8 only work if the vocabulary is translatable and damage any other vocabulary if is not translatable. If you apply the patch and you have vocabularies not translatable this will duplicate any term every time you add it to a node.
Comment #14
RAFA3L commentedThis patch fix the problem with vocabularies without translation and have some cleanups
Comment #15
mandras87 commentedIf somebody is having this problem on 2.0.2, here is a patch
Comment #16
rajab natshah