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.
Hello!
I had problems with 'main-menu' after installing i18n
Using Drupal 7:23
Solved using the following:
- if(module_exists('i18n'))
to alter:
+ if(function_exists('i18n_menu_translated_tree'))
Comments
Comment #1
drupalfmm CreditAttribution: drupalfmm commentedI'm sorry the 'Menu translation' was not active. yes it works with: if (module_exists ('i18n'))
After installing i18n, do not forget to activate 'Menu translation'.
thx
:)
Comment #2
drupalfmm CreditAttribution: drupalfmm commentedComment #2.0
drupalfmm CreditAttribution: drupalfmm commentedText correction