When using the i18n module for menu translation (specifically i18n_menu module), it uses a page_preprocess hook to alter the menu to remove items not from the current language. However, the themes distributed with OpenPublic also page_preprocess the menus - building their own menu trees - effectively overriding the i18n_menu filtering.

The attached patch makes the included themes "i18n aware".

Feedback welcome.

CommentFileSizeAuthor
openpublic_i18nmenu_themes.diff7.92 KBwalkah

Comments

e2thex’s picture

Status: Needs review » Fixed

commit a0bce434aa4070c686d8a984b2b485737d251d95
Author: walkah
Date: Wed Nov 16 10:41:22 2011 -0500

issue #1335730 by walkah : Themes don't work with i18n_menu

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit a0bce43 on master, 7.x-1.0.5, 7.x-1.0.4.2, 7.x-1.0.5-module-updates, 7.x-1.0.5.1, removepassword, appify_services, 7.x-2060595, 7.x-1.x-2093259-field_clean_up, appify authored by walkah:
    issue #1335730 by walkah : Themes don't work with i18n_menu