Change the language in all paragraph and/or character styles

Script for InDesign. Works in CC 2018. As the name suggests, it changes the language setting in all paragraph and/or character styles. I have no idea who its author is and where it came from. I just edited it a little.

Click here to download the script.