Fixes missing plugin_language, e.g. when adding 
plugins in the text plugin.
Merge pull request #1999 from andreif/fix-missing-plugin-language

Fixes missing plugin_language