Opened 5 years ago

Closed 5 years ago

#16387 closed Bug (fixed)

Localizing Fails

Reported by: konzept@… Owned by: nobody
Component: GIS Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Setting default_lon and default_lat fails on LANGUAGE_CODE = 'de-de' because the JS (https://code.djangoproject.com/browser/django/trunk/django/contrib/gis/templates/gis/admin/openlayers.js) localizes in line #71 and #140 the default values from 1164288.77309 to 1164288,77309

Attachments (1)

16387-1.diff (1.2 KB) - added by Claude Paroz 5 years ago.
Disable number localization in openlayers.js

Download all attachments as: .zip

Change History (5)

comment:1 Changed 5 years ago by Jannis Leidel

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted
Type: UncategorizedBug

Changed 5 years ago by Claude Paroz

Attachment: 16387-1.diff added

Disable number localization in openlayers.js

comment:2 Changed 5 years ago by Claude Paroz

Has patch: set

comment:3 Changed 5 years ago by Jannis Leidel

Triage Stage: AcceptedReady for checkin

comment:4 Changed 5 years ago by Jannis Leidel

Resolution: fixed
Status: newclosed

In [16600]:

Fixed #16387 -- Disabled localization in openlayers template. Thanks, claudep.

Note: See TracTickets for help on using tickets.
Back to Top