filestack / filestack-js

Official Javascript SDK for the Filestack API and content ingestion system.
https://www.filestack.com
MIT License
206 stars 78 forks source link

When using unsplash as an image source it does not respect the lang passed into picker options #519

Open robinbristoluk opened 1 year ago

robinbristoluk commented 1 year ago

Expected Behavior

When viewing the Unsplash panel in a picker created with a lang property other than 'en' the ui elements should be displayed in the specified language

Current Behavior

The UI of the Unsplash panel is presented in english, and not the specified language

Possible Solution

Steps to Reproduce (for bugs)

  1. Create and open a new picker object with the lang passed in as 'es', and unsplash added to the fromSources array
  2. Select the unsplash view and observe the language.
  3. Also note the rest of the pickers ui is in the specified language