#30338: sitemap.xml template should not use localization
----------------------------------+--------------------------------------
     Reporter:  Christian Peters  |                    Owner:  nobody
         Type:  Bug               |                   Status:  new
    Component:  contrib.sitemaps  |                  Version:  2.2
     Severity:  Normal            |               Resolution:
     Keywords:                    |             Triage Stage:  Unreviewed
    Has patch:  1                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  1                 |                    UI/UX:  0
----------------------------------+--------------------------------------
Description changed by Christian Peters:

Old description:

> The sitemap.xml receives a priority as float. This float should never be
> localized, even if localization is generally turned on.
>
> https://github.com/django/django/blob/master/django/contrib/sitemaps/templates/sitemap.xml#L9
>
> Pull Request: https://github.com/django/django/pull/11183

New description:

 The sitemap.xml receives a priority as float. This float should never be
 localized, even if localization is generally turned on. This is because
 some localizations would change e.g. `0.8` to `0,8`, rendering the format
 as invalid.

 
https://github.com/django/django/blob/master/django/contrib/sitemaps/templates/sitemap.xml#L9

 Pull Request: https://github.com/django/django/pull/11183

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30338#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.26bd340b391faf8a6d6d8845974ae4b2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to