Opened 9 years ago

Closed 9 years ago

#3194 closed enhancement (wontfix)

Telephone and City fields should have multiple locale specific formats

Reported by: voltron Owned by: hugo
Component: Internationalization Version:
Severity: normal Keywords:
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Hi There!

I think that the phone and city fields should extendable, something like models.TelephoneField("DE", format), DE is the international abbreviation for the Country Germany, format being a a format string, for example "(%i %i %i)%i"

Thanks! Kepp up the great work!

Change History (2)

comment:1 Changed 9 years ago by mir@…

  • Component changed from Database wrapper to Internationalization
  • Owner changed from adrian to hugo
  • Summary changed from Telephone and City fields to Telephone and City fields should have multiple locale specific formats
  • Triage Stage changed from Unreviewed to Design decision needed

comment:2 Changed 9 years ago by mtredinnick

  • Resolution set to wontfix
  • Status changed from new to closed

Even within a given country, there isn't really a uniform way of expression things like phone numbers, so each option would have to be a number of choices. This rapidly gets unwieldy to maintain. If somebody wants a particular version, it's only validator away, so is fairly easy to write on a case-by-case basis.

Short version: at the moment, we won't be implementing this. If somebody or a group of people were really enthusiastic and implemented a fairly broad coverage of these sorts of things for many locales, we would be happy to point people towards it (or even maybe host it eventually).

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