Important
This project has moved to https://www.drupal.org/project/filename_transliteration
A Drupal 8 helper module to enable basic transliteration for all uploaded File Entities.
Transliterations include:
- Special characters are converted from UTF8 to ASCII using Drupal core's PhpTransliteration::transliterate functionality.
- Capital leters are lowercased.
- Anything that is not a valid filename character (including the space character) is repleaced with an underscore.
- Sequences of underscores, dashes, and periods are simplified.
While the transliteration functionality was ported into Drupal 8 core, there is no support for filename transliteration yet.
The module currently has no configuration UI. Pull Requests welcome.
This module is based on the blog post by Alexander Belov, but simplified for a less specific use case.