Translating filters
-
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?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Translating filters’ is closed to new replies.