Skip to content

Add ISO-3166-1 Numeric codes to Intl componentΒ #50860

@benr77

Description

@benr77

Description

The Intl component is supporting access to 2 and 3 letter ISO codes for countries.

However, there is a third, numeric type which is not currently supported.
https://www.iso.org/obp/ui/#search/code/

Currently my requirement is to convert a 2 letter country code (FR) into a numeric equivalent (250) and it looks like I'm going to either have to install another package (https://github.com/thephpleague/iso3166) or hard-code a static list in my codebase.

Would it be acceptable to add these numeric codes to the Intl component?

Thanks!

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy