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.
Even though the vocabulary is translated and the translation mode set to 'Localize', the menu still displays the default language name.
A quick fix is to add a single line in the i18n_taxonomy_menu_alter inside the if-statement:
$items['admin/structure/taxonomy/%taxonomy_vocabulary_machine_name']['title callback'] = 'i18n_taxonomy_vocabulary_name';
Comment | File | Size | Author |
---|---|---|---|
#4 | i18n_7_1_17_vocabulary_in_admin_menu_01.patch | 949 bytes | brtamas |
#1 | i18n-vocabulary_translation-1839302-1.patch | 755 bytes | SpadXIII |
Comments
Comment #1
SpadXIII CreditAttribution: SpadXIII commentedA small patch
Comment #2
Johnny vd Laar CreditAttribution: Johnny vd Laar commentedThe new drupal-7.18 version breaks this patch. the change should then be:
Comment #3
Jose Reyero CreditAttribution: Jose Reyero commentedAtm we just don't translate administration pages. These ones use the 'default' (not translated) object names. And it's the same for content types, etc...
Comment #4
brtamas CreditAttribution: brtamas at Integral Vision Ltd commentedPatch attached for version 7-1.17