Script Editor – reading setting and toggling the language setting from JS

If you have trouble, like me, understanding and using the above script, you may want to look at the below for a simple example: