drupal-graphql / drupal-graphql/graphql

cannot get translation of availableLanguages name

Open
#772 1 comment 0 reactions 0 assignees View on GitHub
3.x
Dominant language
PHP
Stars
287
Forks
198
PR merge metrics
No merged PRs in 30d

Description

When querying for `availableLanguages`, the "name" field is in the default language and there appears to be no way to query for the language's name in its own language.

Here's the graphiql docs for it:
Screen Shot 2019-04-22 at 22 27 15

For example, if Spanish is installed on the site, the resulting data shows:
```
{
"id": "es",
"name": "Spanish",
"direction": "ltr",
"weight": 1,
"argument": "es",
"isDefault": false
}
```

And I don't see a way to get "Español" out of the system even though the translation is in Drupal.

Screen Shot 2019-04-22 at 22 31 18

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.