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.

This module adds comprehensive French language support to LocalGov Drupal. It automatically sets French as the default language, imports translations for all interface strings and configuration entities, and sets the correct timezone.

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
5 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

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