Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi I am trying to translate large number of terms via translation table. We have about 15,000 terms in a taxonomy?
When I load the page admin/config/regional/translate/table/taxonomy it uses a lot of memory and impossible to load page when having large number of terms. Please suggest what we can do in this situation?
Is there any settings to show pagination or some other approach with available settings ?
please suggest!
Thanks
Comment | File | Size | Author |
---|---|---|---|
#5 | taxonomy_translation_table.patch | 1.84 KB | jas1988 |
Comments
Comment #2
jas1988 CreditAttribution: jas1988 as a volunteer commentedComment #3
jas1988 CreditAttribution: jas1988 as a volunteer commentedMore debugging I have printed query.
File: taxonomy.translation_table.inc
Function : taxonomy_translation_table_taxonomy_filtered_form
case: default
SELECT ls.lid AS lid, ls.source AS source, ls.location AS location FROM {locales_source} ls INNER JOIN {i18n_string} s ON ls.lid = s.lid WHERE (s.type = :db_condition_placeholder_0) AND (s.objectid IN (SELECT td.tid AS tid FROM {taxonomy_term_data} td WHERE (td.vid = :db_condition_placeholder_1) ))
It seems no pagination limit is working.
Comment #4
jas1988 CreditAttribution: jas1988 as a volunteer commentedWhen we change line number 130 like below it starts working :
I hope I am doing it in correct way ?
Comment #5
jas1988 CreditAttribution: jas1988 as a volunteer commentedI have made patch and with pagination is working in all cases. Please let me know if I am missing something and these changes are not required. Thanks!