uppy-angular-library icon indicating copy to clipboard operation
uppy-angular-library copied to clipboard

Is there a way to change the language?

Open emicanonica opened this issue 3 years ago • 2 comments

emicanonica avatar Mar 18 '21 23:03 emicanonica

  1. Install uppy language packs from: https://github.com/transloadit/uppy/tree/master/packages/%40uppy/locales
  2. Import locale:
declare var require: any;
const Russian = require('@uppy/locales/lib/ru_RU')
  1. Pass selected locale to uppyConfig:
settings: UppyConfig = {
  ...
  options: {
    locale: Russian
  }
}

prezesp avatar Mar 24 '21 20:03 prezesp

It doesn't work for me. locale is not property of UppyConfig

JuliMaldo avatar Apr 26 '21 15:04 JuliMaldo