[Plugin: Dynamic Widgets] Dynamic Widgets, WPML, submenus on sidebars
-
Ok, I’m pushing the limits with Dynamic Widgets here, so bear with me for a moment…
I installed Dynamic Widgets for its support of WPML (multilingual WP — works like a charm!). Now I have a website for a customer on three languages. The silly customer has some 200 categories and as much pages all scattered around the menus, so here is what they want: a contextual submenu for each area. So every time WP is on an area, it shows a different menu specific for that area.
I’m deliberately talking about “areas” because these are “categories” in some cases, “pages” in others. It’s a huge mix.
Here is how it works with WP 3.1 and Dynamic Widgets: create a sidebar menu. For each area, there is one “contextual list of selections”, so I create a different menu. Then tell that menu that it should only show up for certain categories and/or pages. That’s it. The sidebars get dozens (perhaps hundreds, when I’m finished) of menus on sidebar widgets, but only one is active for each category or page (I’d prefer a more automated system, but it’s hard to do when one has a mix of pages and categories throughout the website…). It works flawlessly for the main language.
There is just one problem. Dynamic Widgets just shows me the categories and pages on the main language, not on the translations. This is actually correct: when switching languages, I wish to get the translated menu, which is automatically linked via WPML, so it makes sense only to show the “main” language to make the selection.
The problem is that the translated site will never see the correct menu. In fact, it will never match to anything. I think this might be a bug or I’m just incorrectly configuring things…
Any clues on how to make this complex setup work would be appreciated!
The topic ‘[Plugin: Dynamic Widgets] Dynamic Widgets, WPML, submenus on sidebars’ is closed to new replies.