merged from protocol 3 branch; added a check for the new enabled languages
merged from protocol 3 branch; added a check for the new enabled languages

runeh/dragonfly-stp-1,runeh/dragonfly-stp-1,runeh/dragonfly-stp-1