Translate/src/TranslateClient.php
public function languages(array $options = [])
    {
        $response = $this->localizedLanguages($options + ['target' => null]);

        return array_map(function ($language) {
            return $language['code'];
        }, $response);
    }
public function languages(array $options = [])
    {
        $response = $this->localizedLanguages($options + ['target' => null]);

        return array_map(function ($language) {
            return $language['code'];
        }, $response);
    }
public function languages ( array $ options = [ ] ) { $ response = $ this -> localizedLanguages ( $ options + [ 'target' => null ] ) ; return array_map ( function ( $ language ) { return $ language [ 'code' ] ; } , $ response ) ; }
Get all supported languages.

Example:
```
$languages = $translate->languages();

foreach ($languages as $language) {
echo $language;
}
```

@codingStandardsIgnoreStart
@see https://cloud.google.com/translation/v2/discovering-supported-languages-with-rest Discovering Supported Languages
@codingStandardsIgnoreEnd

@param array $options [optional] Configuration Options.
@return array A list of supported ISO 639-1 language codes.
Get all supported languages .