pyuploadcare icon indicating copy to clipboard operation
pyuploadcare copied to clipboard

Translate the widget to local language

Open lucabfelix opened this issue 9 months ago • 4 comments

Question

Hello team,

I would like to know how to translate the widget into my local language. In my case, it is Portuguese. I did not find any specification about this in the documentation.

I'm using Django widget:

settings.py:

UPLOADCARE = { 'pub_key': 'mykey', 'secret': 'mysecretkey', 'widget': { 'options': { 'source-list': 'local,camera', 'preview-step': True, }, }, }

models,py: arquivos = FileGroupField('Documentação do Filiado', blank=True, null=True)

template: {{ form.arquivos|as_crispy_field }}

lucabfelix avatar May 29 '25 13:05 lucabfelix

bom dia,

this may help https://uploadcare.com/docs/file-uploader/localization/

or are you asking about a django way?

dmitry-mukhin avatar May 29 '25 13:05 dmitry-mukhin

Hello. I wanted to know a Django way to do this using the Django widget from pyuploadcare.

lucabfelix avatar May 29 '25 14:05 lucabfelix

@dmitry-mukhin

lucabfelix avatar Jun 01 '25 00:06 lucabfelix

apparenly you cannot do this via pyuploadcare. try to add JS settings in a template where you have Uploader.

dmitry-mukhin avatar Jun 02 '25 13:06 dmitry-mukhin