uppy-angular-library
uppy-angular-library copied to clipboard
Is there a way to change the language?
- Install uppy language packs from: https://github.com/transloadit/uppy/tree/master/packages/%40uppy/locales
- Import
locale
:
declare var require: any;
const Russian = require('@uppy/locales/lib/ru_RU')
- Pass selected
locale
to uppyConfig:
settings: UppyConfig = {
...
options: {
locale: Russian
}
}
It doesn't work for me. locale is not property of UppyConfig