Drupal is a registered trademark of Dries Buytaert

localgov_france

2 sites No security coverage
View on drupal.org

INTRODUCTION

The LocalGov France module provides French language support for LocalGov Drupal installations.

This module:

  • Sets French as the default language
  • Imports French translations for all interface strings
  • Translates configuration entities (content types, fields, taxonomies, etc.)
  • Sets the default timezone to Europe/Paris
  • Provides comprehensive translations via .po files and YAML configuration
  • Optionally enables the LocalGov Base France theme

REQUIREMENTS

  • Drupal 10 or 11
  • LocalGov Drupal distribution
  • The following core modules (enabled automatically):
    • Language
    • Content Translation
    • Configuration Translation
    • Locale

INSTALLATION

Install as you would normally install a contributed Drupal module. See: https://www.drupal.org/node/895232 for further information.

composer require localgovdrupal/localgov_france
drush en localgov_france

CONFIGURATION

The module configures French language settings automatically on installation:

  • Sets French (fr) as the default site language
  • Removes English language (if not needed)
  • Sets timezone to Europe/Paris
  • Sets country to France
  • Imports French translations from drupal.org
  • Imports custom LocalGov translations from included .po file
  • Translates all LocalGov configuration entities

Optional Theme

If you have the localgov_base_france theme available, it will be enabled and set as default automatically.

TRANSLATION FILES

The module includes two types of translation files:

  1. Interface translations (translations/localgov_france.fr.po):

    • Translates UI strings from PHP code (t() functions)
    • Translates UI strings from Twig templates (|t filter and {% trans %} tags)
    • Translates JavaScript strings (Drupal.t())
  2. Configuration translations (translations/localgov_france.config_translations.yml):

    • Translates content types, fields, taxonomies
    • Translates workflows, user roles
    • Translates paragraph types, view modes
    • Translates menus and other configuration entities

MAINTAINERS

Current maintainers:

Activity

Total releases
3
First release
Nov 2025
Latest release
1 month ago
Release cadence
38 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
1.0.0-beta2 Pre-release Jan 27, 2026
1.0.x-dev Dev Nov 13, 2025
1.0.0-beta1 Pre-release Nov 13, 2025