Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Countries import

29 sites No security coverage Drupal 10–11
View on drupal.org

This module imports geographical information, including country codes, official names, and flags, based on the M49 standard. You can configure it to store this data as taxonomy terms or content nodes, with options for field mapping, flag format, translation, and importing country-to-region assignments.

What is this?

Countries import is a module that imports Countries or areas / geographical regions following the M49 standard containing information like country codes from ISO 3166-1 / 3166-2 (i.e. RO, ROU for România), name, official name or flag.
The information can be stored as terms or nodes based on the configuration.

Installation

Install as you would normally install a contributed Drupal module.
See: https://www.drupal.org/docs/extending-drupal/installing-modules for further information.

Configuration

  • Configure the Countries import in Configuration » Content authoring » Countries import.
  • Configure the:
    • Countries settings (/admin/config/content/countries-import)
    • Geographic Regions settings (/admin/config/content/countries-import/geographic-regions)

Options

This works by providing multiple options to control what should happen when the entity is being created. You have the ability to:

  • Select where to store the information (Content type or Taxonomy).
  • Choose fields to store each information.
  • The flag format (SVG, PNG format (32x16), PNG format (128x64)).
  • Possibility to translate the name and the official name.
  • Possibility to import the assignment of countries to regions (since 2.0.x).
  • Possibility to import only countries/regions.

New features in 2.0.x:

  • Import a list with Geographic Regions

Depends on

Dependencies of the latest stable release

  • content_translation Drupal core
  • file Drupal core
  • migrate Drupal core
  • svg_image Drupal core
  • token Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Mar 2025
Latest release
8 months ago
Releases (12 mo)
1
Maintenance
Active

Releases

Version Type Core Release date
2.0.2 Stable 10–11 Dec 8, 2025
2.0.1 Stable 9–10 Mar 24, 2025