Issue #2341341 by YesCT, martin107, vijaycs85, fran seva: Change public 'name' property access on languages to getName() and add back setName().
Issue #2349851 by targoo: Remove uses of the deprecated drupalGetSettings.