I'm upgrading from Drupal 4.7, i18n to Drupal 5 and when I enable the i18n core module my menus won't work and are not displayed in menu settings (where you pick primary and secondary menus).

As long as I disable the i18n module, I can see the menus again.

Even if I create new menus, they don't appear if the Internationalization module is enabled.

This behavior is not related to the i18n-menu module, doesn't matter if it's enabled or not.

CommentFileSizeAuthor
#4 i18n-menu-debug.sql_.txt17.01 KBimerlin

Comments

jose reyero’s picture

I fixed some issues in the latest commit, may be related to this. Please let us know whether this is fixed.

jose reyero’s picture

Also, I forgot, make sure you run update.php after you enable the new i18n 5

wonderland’s picture

I have the same issue, but I'm using Drupal 5.1 with the latest i18n version. I *think* the issue appeared somewhere in between the upgrade from Drupal 5.0 to 5.1 and the upgrade to the latest i18n module. I was able to fix the issue by manually adjusting the database and assigning the correct language code to the relevant menu and item entries in the menu table. Not sure what causes this error, as it used to work in older versions.

..- Wonderland

imerlin’s picture

StatusFileSize
new17.01 KB

Step 1:

I've upgraded to the latest i18n but with my old Drupal 5.0.

I still can't see the menu's in 'en/admin/build/menu/settings'. Only 'Navigation' or 'No menu' (which kinda sucks).

Step 2

I've also upgraded to Drupal 5.1 and the situation is unchanged.

Step 3

I have no idea what is causing this. I'll include a dump of my menu db table.

imerlin’s picture

Title: When Internationalization is enabled I can't find my custom menus. » Update
Component: Module i18nmenu » Code

I've upgraded to the latest 5.1 version without success.

  • If I disable all the "internationalization" module then I can all my menus in "admin/build/menu/settings"
  • If I enable "internationalization" without any of the other modules I can't see them. Even if I create a new menu from scratch
  • When creating a menu item it also can not see the parent menus
imerlin’s picture

Status: Active » Closed (works as designed)

Found the source of my problems.

The way menus were handled changed so I had alot of menus and menu items that had no language while my 'Multilingual' settings were set to 'only current language'.

After changing that settings I was able to see the menus.

Changing status to 'by design' because I'm guessing this is working as intended while I just had no idea my migration would turn out this way.

Hope my problems will serve others in the future :)