Opened 14 years ago

Closed 12 years ago

#14540 closed Bug (fixed)

Wrong localization (L10N) thousand separator & decimal point character for Puerto Rico

Reported by: Roberto Rosario Owned by: nobody
Component: Internationalization Version: 1.2
Severity: Normal Keywords: L10N, Puerto Rico
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The es-PR LANGUAGE_CODE incorrectly returns dot '.' as the thousand separator and comma ',' as decimal point symbols, which is inverted. The locale 'en-PR' is however correctly coded.

Attachments (1)

formats.py (711 bytes ) - added by Roberto Rosario 14 years ago.
Location format file to es_PR location

Download all attachments as: .zip

Change History (10)

comment:1 by Roberto Rosario, 14 years ago

Component: UncategorizedInternationalization

by Roberto Rosario, 14 years ago

Attachment: formats.py added

Location format file to es_PR location

comment:2 by Ramiro Morales, 14 years ago

Resolution: invalid
Status: newclosed

Django currently has no Puerto Rico translation/format support. Maybe you are using files provided by another Django-based project (in that case you can reporte this to its maintainers) or locally created file (in which case you can edit the file yourself)?.

Of course, we would gladly add such a translation if anyone contributes one in good shape to Django.

in reply to:  2 comment:3 by Roberto Rosario, 14 years ago

Resolution: invalid
Status: closedreopened

Replying to ramiro:

Django currently has no Puerto Rico translation/format support. Maybe you are using files provided by another Django-based project (in that case you can reporte this to its maintainers) or locally created file (in which case you can edit the file yourself)?.

Of course, we would gladly add such a translation if anyone contributes one in good shape to Django.


I'm using the official Django 1.2.4 files as downloaded by pip from djangoproject.com. The formats.py file attached here was create by myself by copying django/conf/locale/es/formats.py and editing it to provide the missing format support for es-PR locale, as for translation/i18n support the general 'es' translation is adequate for Puerto Rico, no specific 'es-PR' translation is needed.

Maybe the ticked title is what's wrong, a more appropriate title should be: "Include specific localization support for Puerto Rico 'es-PR'"

Last edited 14 years ago by Roberto Rosario (previous) (diff)

comment:4 by Ramiro Morales, 14 years ago

Triage Stage: UnreviewedAccepted

comment:5 by Julien Phalip, 13 years ago

Severity: Normal
Type: Bug

comment:6 by Aymeric Augustin, 13 years ago

UI/UX: unset

Change UI/UX from NULL to False.

comment:7 by Aymeric Augustin, 13 years ago

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:8 by Aymeric Augustin, 12 years ago

Status: reopenednew

comment:9 by Claude Paroz <claude@…>, 12 years ago

Resolution: fixed
Status: newclosed

In 83f182da664645d3eff6f90a98f18d6f7af310bd:

Fixed #14540 -- Added Porto-Rico specific formats

Thanks rosarior for the report and the file proposal.

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