Skip to content

Translator.getTargetLanguages() returns invalid language code for Portuguese (European) #69

@tchamblee

Description

@tchamblee

Using deepl-node v1.19.0. When calling Translator.getTargetLanguages() the locale code being returned for Portuguese (European) is invalid. It seems like a portion of the description is erringly being placed into the code field.

I did not experience or notice this error when in North America but I am currently in Panama City, Panama and experiencing this.

Please see the screenshot of a console.log for the result in question.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions