DjangoGirlsSeoul / lightandleadership

Non-profit web project using python and django
Apache License 2.0
5 stars 6 forks source link

spanish menu #67

Closed RachellCalhoun closed 8 years ago

RachellCalhoun commented 8 years ago

we need to create a spanish menu for the spanish base page.

RachellCalhoun commented 8 years ago

This seems like the problem we're stuck at. I have tried a few different things, one being putting footer and menu in context_processors.py instead of views.py so it can go into base and then extend into all templates. This worked for the English menu.

Problem is that when I tried to do it with the Spanish menu it was unsuccessful. It would only show the English menu. I've tried changing the base.html name, but it doesn't work. Any Ideas?

A workaround could be to just have her add links to spanish pages (ie /es/donate) in the English menu(it'll show up in all pages). But I feel like it's going to be a huge menu!

We could maybe add a choice to the menu model (english / spanish) and filter out for whichever we need. (Haven't thought this through yet. thoughts?) @jinpark @hassanabidpk