Opened 11 years ago

Closed 11 years ago

#8515 closed bug (fixed)

Datepicker: Translation displays HTML entities when setting some formats

Reported by: idavemm Owned by: k_borchers
Priority: minor Milestone: 1.9.0
Component: ui.datepicker Version: 1.8.23
Keywords: Cc:
Blocked by: Blocking:

Description

When using a format where a week day is displayed, if the day has accents they will be shown with HTML entities.

Steps to reproduce it:

  • Load datepicker js and set the Spanish i18n translation.
  • Initialize a form date field setting this format:

$( ".selector" ).datepicker({ dateFormat: "DD, d MM, yy" });

Now when you click on the field, the datepicker appears. Select Wednesday, so it should show:

Miércoles, 22 Agosto, 2012

But instead it shows this:

Miércoles, 22 Agosto, 2012

In order to fix that, the i18n file should replace all those HTML entities with the accented letter.

Change History (3)

comment:1 Changed 11 years ago by Scott González

Status: newopen
Summary: Spanish translation displays HTML entities when setting some formatsDatepicker: Translation displays HTML entities when setting some formats

This applies to es, fi, gl, is, it, pt-BR, pt, and sl.

comment:2 Changed 11 years ago by k_borchers

Owner: set to k_borchers
Status: openassigned

comment:3 Changed 11 years ago by Kris Borchers

Resolution: fixed
Status: assignedclosed

Datepicker: Replace HTML entities with characters in es, fi, gl, is, it, pt-BR, pt and sl i18n files. Fixes #8515 - Datepicker: Translation displays HTML entities when setting some formats

Changeset: d372882af113ec14531d31991b0e9265c9cbcc2b

Note: See TracTickets for help on using tickets.