There is no way to use the provided i18n automation if we want to display
some items depending on the language (for instance non-translated blog
articles).
I precise in my case, urls are translated, so given a language the url may
not exist or raise an error.
--
Ticket URL: <https://code.djangoproject.com/ticket/33662>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Unreviewed => Accepted
Comment:
OK, sounds reasonable to at least look at.
Would you care to take on a patch? In either case could you perhaps expand
the description to include a minimal reproduce setup so that someone
picking it up had a few breadcrumbs to follow? Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/33662#comment:1>
Comment (by PhönixGeist):
I would like to tackle this new feature, it sounds interesting. As Carlton
Gibson said, could you expand please the description, so I can fully
understand the idea of the new feature?.
For instance, on which scenario the URLs get translated? (Not sure, but
this maybe sounds more like an error than a future).
It does sound as a new feature, being able to display some items depending
on the language, by this do you mean like for example, only translate a
menu or only translate a what is inside a <div> or something similar?
Please expand your idea.
--
Ticket URL: <https://code.djangoproject.com/ticket/33662#comment:2>