Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2569

Provide localized message for fileupload

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: 7.0.4
    • Fix Version/s: 8.0.0
    • Component/s: General
    • Security Level: Jimmy
    • Labels:
    • gh.sprint.customfield.default.name:
      ZK 8.0.1

      Description

      ZK's file upload facility is based on Apache Commons FileUpload library. The error message produced by this library is reported to the client-side verbatim. However, the messages are English only.

      To localize the messages, one trick is to override the message on the client-side (e.g. http://forum.zkoss.org/question/71121/customized-error-message-for-to-big-file-uploads/). Another way is to override the exception handling in AuUploader.service().

        Activity

        Hide
        ChunfuChang ChunfuChang added a comment -

        done since 2015/07/02

        Show
        ChunfuChang ChunfuChang added a comment - done since 2015/07/02
        Show
        DevChu DevChu added a comment - Please refer to http://books.zkoss.org/wiki/ZK_Component_Reference/Essential_Components/Button#Upload .

          People

          • Assignee:
            DevChu DevChu
            Reporter:
            neillee neillee
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Time Spent - 2 days, 6 hours Remaining Estimate - 2 minutes
              2m
              Logged:
              Time Spent - 2 days, 6 hours Remaining Estimate - 2 minutes
              2d 6h

                Agile