• I’d like to translate the filters, but see they’re now hardcoded in the js-file (search:{orientation:{label:”orientation”,default:”all”,filters:[“all”,”landscape”,”portrait”,”square”]}). I could change the script and translate the strings with wp_set_script_translations, but I’m not sure if the filters would still work then. Maybe there’s a better way to do this?

    • This topic was modified 1 year, 1 month ago by edwin01.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi @edwin01 Currently those can’t be translated as those are the values being sent to Unsplash, Pixabay etc.

    I’ll need to figure out how to map these to a different display value.

    Plugin Author Darren Cooney

    (@dcooney)

    Hi @edwin01 – filter translations are going to be available in the Instant Images release going out today or tomorrow.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Translating filters’ is closed to new replies.