Translate the widget to local language
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 }}
bom dia,
this may help https://uploadcare.com/docs/file-uploader/localization/
or are you asking about a django way?
Hello. I wanted to know a Django way to do this using the Django widget from pyuploadcare.
@dmitry-mukhin
apparenly you cannot do this via pyuploadcare. try to add JS settings in a template where you have Uploader.