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

  1. Create a language that is not in the standardized list i.e. fr-CA
  2. 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

Command icon 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:

Comments

bstan created an issue. See original summary.

almunnings made their first commit to this issue’s fork.

almunnings’s picture

Nice, cheers for the find (and the test!).

I'll merge that up now.

almunnings’s picture

Status: Active » Fixed

almunnings’s picture

Status: Fixed » Closed (fixed)