Module Description
A Drupal 9 helper module to enable basic transliteration for all uploaded File Entities.

Filename sanitization includes:
* Transliteration - Special characters are converted from UTF8 to ASCII using Drupal core's PhpTransliteration::transliterate functionality.
* Downcasing - Capital letters are lowercased.
* Underscores as separators - Anything that is not a valid filename character (including the space character) is replaced with an underscore.
* Reduce duplicate separators - Sequences of underscores, dashes, and periods are simplified to a single character.

Note: Sanitization only impacts new file uploads; all files already uploaded to a site are not affected.

Why does this module exist? Transliteration functionality was ported into Drupal 8 core, but there is currently no support for filename transliteration. Eventually this module will become obsolete when this gets fixed in core. Follow #3238461: Filename Transliteration moved into D9 core and #2492171: Provide options to sanitize filenames (transliterate, lowercase, replace whitespace, etc) for progress.

Similar modules This module has very similar functionality as Transliterate filenames for uploads. Please read #3216907: How is this module different from transliterate_filenames ? for an in-depth analysis and comparison.

Configuration The module currently has no configuration or UI. Feature requests and merge requests welcome.

Credits This module is based on a now deleted blog post by Alexander Belov from Buzzwoo.de, simplified for a less specific use case.

Project Usage
1426
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to enable basic transliteration for all uploaded File Entities in Drupal 9.
Data Name
filename_transliteration

OPENAI CHATBOT

OPENAI CHATBOT

14:33:23
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.