Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1172

Localization of calendar in the 'date' control doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.2
    • 3.0 RC4
    • admininterface
    • windows XP Pro, Tomcat 5.0, java j2sdk1.4.2_12

    Description

      When using the calendar of a date controle, the JS objet does not draw correctly if we are not using the english language. It seems like the localization strings are not loaded. Instead, 'undefined' is displayed.
      yet when loocking at the HTML code of the generated dialog that is using the calendar, We see the :

      <script type="text/javascript" src="/magnolia/.resources/calendar/lang/calendar-fr.js"></script>

      so, it seems that the file is found and added but the localization resources are not used by the calendar (except with the default english file).

      Checklists

        Acceptance criteria

        Attachments

          1. calendar-fi.js.patch
            5 kB
          2. calendarFR.patch
            2 kB
          3. patch.txt
            0.7 kB
          4. screenshot.png
            screenshot.png
            16 kB

          Issue Links

            Activity

              People

                gjoseph Magnolia International
                afont Adrien FONT
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD