Skip to content

Fix utils.js to replace 'en-uk' with 'en_GB' for supported language #122

Description

@saideepd

Hello @meetDeveloper ,

The language code for English (UK) as per the utils.js file is 'en-uk', but any query to the API with 'en-uk' as language code results in 404 response code.
image

Bu, I noticed that there was a closed Issue #50 where the support for English (UK) was added and the language code mentioned is 'en_GB'. And querying the API with 'en_GB' works perfectly fine.
image

Can the utils.js be updated to have 'en_GB' instead of 'en-uk'?

'en-uk', // English (UK)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions