Skip to content

[Intl] nl language can be represented as dut and nld #50142

Closed
@oleg-andreyev

Description

@oleg-andreyev

Symfony version(s) affected

6.1.4

Description

Found an issue with ISO-3 alias

ER:
ISO-3 dut
ISO-2 nl

AR:
Couldn't read the indices [Alpha3ToAlpha2][dut] for the locale "meta"

https://www.loc.gov/standards/iso639-2/php/langcodes-keyword.php?SearchTerm=dut&SearchType=ALL
https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes

How to reproduce

  1. install symfony/intl
Languages::getAlpha2Code('dut')

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions