Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39961

Basque days of week are displayed in english

    XMLWordPrintable

    Details

    • Test Plan:
      Hide

      -Add Section Info tool to a site.

      -Change the language to basque.

      -Create/Edit a section and check that days are displayed in basque.

      Show
      -Add Section Info tool to a site. -Change the language to basque. -Create/Edit a section and check that days are displayed in basque.

      Description

      Sakai has basque and mongol locales added with the endorsed project (-SAK-23521-).

      However, in the Confluence page of this project (1) is documented:

      1. In order to enable the extension of the service provider, please use

      DateFormatSymbols.getInstance(locale);
      DecimalFormatSymbols.getInstance(locale);

      instead of

      new DateFormatSymbols(locale);
      new DecimalFormatSymbols(locale);

      in your code, because the latters do not support the extension.

      Due to this, the days of week are not properly localized when editing a section while using basque language.

      A simple substitution of code will fix it.

      (1) https://confluence.sakaiproject.org/display/I18N/Endorsed+I18n+Project

       

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                daniel.merino Daniel Merino Echeverría
                Reporter:
                daniel.merino Daniel Merino Echeverría
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code