Multiple multilingual menus in Django-CMS with items rooted at / -
i'm using django-cms 2.3.5 on django 1.4.5 , python 2.7.2.
i have 2 dozen pages need presented in 2 or more menus in base template.
currently i'm using primary menu , footer menu. primary menu, simple created "home" page id 'home' , number of children, use {% show_menu_below_id "home" 0 100 100 100 %}. works perfectly.
for footer-menu, i've created fake node in page tree called "footer menu" id:footer-menu footer menu items children. then, use `{% show_menu_below_id "footer-menu" 0 100 100 100 %}.
each of pages within menus translated 6 languages, including slugs of course.
the problem lies in urls items in footer-menu "/en/footer-menu/news/". i'm required make "/en/news/". tried using advanced > overwrite url on footer-menu '/', not allowed.
so, use advanced > overwrite url field on each sub-page set url "/news". while testing in english, indeed url of "/en/news/", when switch language (e.g., spanish), url "/es/footer-menu/noticia/".
so, strategy should use permit:
- client-arrange-able menus - client should able create/move/delete pages menus
- multiple menus
- i18n slugs and
- root items @ "/< language >/"?
surely i'm not first person want this, right?
all ideas welcome. in advance!
the solution upgrade 2.4.x overwrite url distinct each language.
Comments
Post a Comment