Install

Works with Drupal: ^11.1

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 19.14 KB
MD5: 675f28334f77afafac2b4ed384af44d7
SHA-1: 5a2d0a9afba3b2495903e85ff7184a48f851efa8
SHA-256: 5dd4216677f6ca294df3500977759f5a2d5eeb3ffaa2e538d3621fad442a7fd1
Download zip 29.68 KB
MD5: 0a2fa689d0582495af320de96befda3b
SHA-1: 99c685733aed78bd16785095a32b6de4b395be64
SHA-256: d28bed41326ddb3cd71a6af054b2a788cb1c75a2461f057efb4f8bf3205ee540

Release notes

This is the first release of Devel Generate Localized.

Devel Generate fills generated entities with Latin lorem-ipsum text. On sites in languages that do not use the Latin alphabet — Chinese, Japanese and Korean in particular — such text looks nothing like real content. This module fills the labels and text fields of generated entities with FakerPHP dummy text written in the language of the entity, so the generated content behaves like real content for layout checks, search indexing and tokenizer testing.

Highlights

  • Supports all Devel Generate entity types: Content (including comments), Block content, Media, Menus (including menu links), Taxonomy vocabularies and terms, and Users (localized person names).
  • The language selected in the generation form determines the language of the text; a Language of the dummy text selector is added to the user, vocabulary and menu forms. A Localize the generated text checkbox (enabled by default) lets you fall back to the stock lorem ipsum text per run.
  • Drush support via the --languages option and the DEVEL_GENERATE_LOCALE environment variable.
  • All languages with FakerPHP text data are supported. Regional language codes (e.g. fr-ca) fall back to the main locale of the language when needed; entities in unsupported languages keep the stock text.

Requirements

  • Drupal 11.1 or later, PHP 8.3 or later
  • Devel 5.5 or later, with the Devel Generate submodule enabled
  • FakerPHP ^1.23 (installed automatically by Composer)

Install with composer require --dev drupal/devel_generate_localized. Like Devel itself, this is a development module — do not enable it on production sites.

Known limitations

  • The module replaces the classes of some Devel Generate plugins via hook_devel_generate_info_alter(); if another module replaces the same classes, only one of them can win.
Created by: u7aro
Created on: 11 Jul 2026 at 04:49 UTC
Last updated: 11 Jul 2026 at 04:49 UTC

Other releases