Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Countries import

25 sites No security coverage
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

Activity

Total releases
2
First release
Mar 2025
Latest release
7 months ago
Releases (12 mo)
1
Maintenance
Active

Releases

Version Type Release date
2.0.2 Stable Dec 8, 2025
2.0.1 Stable Mar 24, 2025