How to request adding a new language?

There is a chance the locale you need is not available in the widget yet. In the case, it is worth contributing a new one. That is done by forking the main widget repo and adding a new localization file to this list.

Another option is overriding specific locale items by altering your global widget configuration,

UPLOADCARE_LOCALE = 'en';
UPLOADCARE_LOCALE_TRANSLATIONS = {
  buttons: {
    cancel: 'Cancel',
    remove: 'Remove',
    choose: {
      files: {
        one: 'Choose a file',
        other: 'Pick files'
      },
      images: {
        one: 'Choose an image',
        other: 'Load images'
      }
    }
  }
};
  • It helps :+1:
  • It doesn’t help :-1:

0 voters

1 Like