I see some locales files in uppy/lib/loacles/ folder ,
How to use them ?
I want to i18n , Help me, thank you!
i18n can be handled via props in your core Uppy module, help can be found inside the docs.
See documentation:
https://uppy.io/docs/uppy/#locale
const uppy = Uppy({
autoProceed: true,
locale: {
strings: {
exceedsSize: 'This file exceeds maximum allowed size of'
}
}
});
@zcallan about Dashboard UI locale
when I choose some file
about this . I dont know use it cover default word


@de1ck hi! these strings are likely not translatable because we hardcoded them, sorry. We’ll try to fix that soon!
Hi! Should be fixed in the latest release: https://www.npmjs.com/package/uppy. Thanks for reporting!
Someone asked a question about Dashboard strings, but then the question was removed, I think. Going to answer anyway. Please make sure to always check actual strings used before translating (for example, the Dashboard: https://github.com/transloadit/uppy/blob/master/packages/%40uppy/dashboard/src/index.js#L54-L119), since strings change sometimes. We are thinking of how to approach this and make current strings more accessible to developers.
Most helpful comment
@de1ck hi! these strings are likely not translatable because we hardcoded them, sorry. We’ll try to fix that soon!