Problem/Motivation
RouteLanguage data producer only checks for standardized languages which doesn't match configured regional languages i.e. fr-CA, es-419, etc resulting in null data response.
Steps to reproduce
- Create a language that is not in the standardized list i.e. fr-CA
- Make a GraphQL request with the path `/fr-CA/path`
Proposed resolution
Use the getLanguages function to only collect the configured languages instead of the standardized language list.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork graphql_compose-3445814
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3445814-routelanguage-data-producer
changes, plain diff MR !75
- 2.1.x
changes, plain diff MR !74
Comments
Comment #6
almunningsNice, cheers for the find (and the test!).
I'll merge that up now.
Comment #7
almunningsComment #9
almunnings