Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2927

datetimepicker does not support danish language

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.1.2
    • None
    • Plugin - Dojo Tags
    • None
    • WebLogic 9.2, client IE6 and IE7

    Description

      I am missing support for the danish language in datetimepicker.

      To solved the problem we tried to unpack struts2-dojo-plugin.jar and added two new files:

      • org\apache\struts2\static\dojo\nls\dojo_da.js
      • org\apache\struts2\static\dojo\src\i18n\calendar\nls\da\gregorian.js

      The html we use look like this:

      <html>
      <head>
      <sx:head extraLocales="da" />
      </head>
      <body>
      <table>
      <sx:datetimepicker label="In Danish" name="sip" language="da" />
      </table>
      </body>
      </html>

      But it didn't work.

      If I can fix the issue myself I will be happy to contribute.

      Regards,
      Søren Pedersen

      Attachments

        1. changed_files_RO.zip
          415 kB
          Gabriela Busu

        Activity

          People

            Unassigned Unassigned
            sip@sipsoft.dk Søren Pedersen
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: