Uppy: Change locale strings of progress bar when using DashboardModal in React.

Created on 14 Feb 2018  路  4Comments  路  Source: transloadit/uppy

How to change locale string of progress bar when using DashboardModal in React?

Especially:

  • "Uploading..."
  • "Upload complete"
Question

Most helpful comment

Pass a locale prop with the strings:

<DashboardModal
  locale={{
    strings: {
      uploading: 'Bezig met uploaden',
      uploadComplete: 'Klaar!'
    }
  }}
/>

The StatusBar locale keys are currently missing in the documentation; adding in #633.

All 4 comments

Pass a locale prop with the strings:

<DashboardModal
  locale={{
    strings: {
      uploading: 'Bezig met uploaden',
      uploadComplete: 'Klaar!'
    }
  }}
/>

The StatusBar locale keys are currently missing in the documentation; adding in #633.

uploadComplete works.

uploading doesn't.

oh, you're right 馃 Fixing in #640!

Thanks for reporting, will be out in the next patch release soon.

Was this page helpful?
0 / 5 - 0 ratings