Opened 14 years ago
Closed 14 years ago
#16387 closed Bug (fixed)
Localizing Fails
| Reported by: | 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)
Change History (5)
comment:1 by , 14 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|---|
| Type: | Uncategorized → Bug |
comment:2 by , 14 years ago
| Has patch: | set |
|---|
comment:3 by , 14 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
Yeah, looks like this needs a bit of
unlocalize. https://docs.djangoproject.com/en/dev/topics/i18n/localization/#unlocalize