Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Countries import

No security coverage Maintenance fixes only 27 sites

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
Drupal 10–11

Ask your assistant about Countries import

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
5
Tracked since
Sep 2023
Latest release
10 months ago
Releases (12 mo)
1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.2 Stable 10–11 Dec 8, 2025
2.0.1 Stable 9–10 Mar 24, 2025
2.0.0 Stable 9–10 Nov 1, 2023
2.0.x-dev Dev 10–11 Oct 31, 2023
1.1.1 Stable 9–10 Sep 11, 2023