src/ChrisKonnertz/DeepLy/DeepLy.php
public function getLangName($langCode)
    {
        if (! in_array($langCode, self::LANG_CODES)) {
            throw new \InvalidArgumentException('The language code is unknown');
        }

        return self::LANG_NAMES[$langCode];
    }
public function getLangName($langCode)
    {
        if (! in_array($langCode, self::LANG_CODES)) {
            throw new \InvalidArgumentException('The language code is unknown');
        }

        return self::LANG_NAMES[$langCode];
    }
Returns the English name of a language for a given language code.
The language code must be on of these: self::LANG_CODES

@param string $langCode The code of the language
@return string