Thanks to Jabier, we've replaced it with a simple but more manual menu system. The new menu is disconnected from the CMS, so if you edit a cms page, add news ones or delete pages, you must now also edit the menus in each language to account for this.
This is not necesary menu autoupdate on page edit. No intervention from editors.
Regards, Jabier.
-----Original Message----- From: doctormo@...400... To: inkscape-devel inkscape-devel@lists.sourceforge.net Subject: [Inkscape-devel] Website Update: Menus Date: Mon, 26 Nov 2018 02:34:16 -0500
Dear Inkscape Devels,
The Inkscape website has had a menus problem every since we upgraded. It would show French, German and any random menu to English visitors at random times.
The django-cms menus app has always been very slow, way, way over- engineered and just not very good for websites with more than two languages.
Thanks to Jabier, we've replaced it with a simple but more manual menu system. The new menu is disconnected from the CMS, so if you edit a cms page, add news ones or delete pages, you must now also edit the menus in each language to account for this.
This manual editing is a disadvantage, but there are advantages too. Firstly, we can have different menus for different languages (if we want to say link to a different community forum for Japanese). We can also remove a lot of hacky blank places from our CMS that stood in for regular django pages, making that part of menu management more direct.
Finally it's faster. Way faster. 2200ms first hit, 700ms cached vs 940ms first-hit and 512ms cached. Also it serves up the right language menu, which is quite a useful perk.
If there's any issues either in the rendering or editing (which is quite crude, I admit) please let me know via an issue on inkscape-web.
Thanks again to Jabier for the code and the idea to fix this issue with a bit of DIY.
Best Regards, Martin Owens Website Administrator
_______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel