Skip to content

Support for localized states/provinces based on selected language #34

@Adebesin-Cell

Description

@Adebesin-Cell

Hi 👋,

Thanks for this great package!

I'm building a multilingual app and using iso-countries-languages to display country names based on the user's selected language. However, I also need to show the states/provinces within those countries, also localized.

Currently, it seems the package does not include subdivisions or states. I would like to request:

Feature Request:

  • Add support for subdivisions (states, provinces, regions) per country
  • Allow localization of subdivision names based on language code (like how country names are handled)

Example use case:

getStatesOfCountry("NG", "fr"); // returns ["Lagos", "Abuja", ...] in French

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