[Django] #33662: Choose witch items are to be display per language in Sitemap

22 views
Skip to first unread message

Django

unread,
Apr 26, 2022, 11:01:14 AM4/26/22
to django-...@googlegroups.com
#33662: Choose witch items are to be display per language in Sitemap
-----------------------------------------+-------------------------
Reporter: roxanebellot | Owner: nobody
Type: New feature | Status: new
Component: Uncategorized | Version: 4.0
Severity: Normal | Keywords: sitemap
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+-------------------------
The current implementation of Sitemap is : if we use i18n, then we display
a cartesian product between some items and some languages.

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.

Django

unread,
Apr 27, 2022, 3:30:03 AM4/27/22
to django-...@googlegroups.com
#33662: Choose witch items are to be display per language in Sitemap
-------------------------------+------------------------------------

Reporter: roxanebellot | Owner: nobody
Type: New feature | Status: new
Component: Uncategorized | Version: 4.0
Severity: Normal | Resolution:
Keywords: sitemap | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by Carlton Gibson):

* 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>

Django

unread,
Sep 2, 2022, 2:46:11 AM9/2/22
to django-...@googlegroups.com
#33662: Choose witch items are to be display per language in Sitemap
-------------------------------+------------------------------------
Reporter: roxanebellot | Owner: nobody
Type: New feature | Status: new
Component: Uncategorized | Version: 4.0
Severity: Normal | Resolution:
Keywords: sitemap | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------

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>

Reply all
Reply to author
Forward
0 new messages