Saerdna
November 20, 2025, 7:23am
1
I use this plugin from the Cookbook:
If the content of a heading contains umlauts, these are not taken into account when generating the ID.
Förderung
becomes
<element id="forderung">Förderung</element>
Desired result:
<element id="foerderung">Förderung</element>
Is there a way to do this? Thank you.
I suspect a connection with this error:
opened 04:34PM - 13 Nov 25 UTC
## Description
When uploading a file with German umlauts, the filename displayed… in the upload field may differ from the name under which the file is actually saved.
- Umlauts are replaced as follows: ä → a, ö → o, ü → u, or when the slug option is set to `de`, ä → ae, ö → oe, ü → ue.
- However, the `e` may appear as a `-` in the filename field of the upload dialog.
- If you do not change the filename in the upload dialog, the file will be saved correctly with the replaced characters. If you do modify the filename, the file will be saved based on the wrong name.
**Expected behavior**
The filename should match the saved filename.
**Screenshots**
Upload dialog:
<img width="658" height="226" alt="Image" src="https://github.com/user-attachments/assets/15ab3556-a045-4485-b1a5-76bf55768cc5" />
Saved file:
<img width="535" height="123" alt="Image" src="https://github.com/user-attachments/assets/3dbde55e-76a3-45c8-bdc2-44916f102cd9" />
## To reproduce
1. Upload a file with German umlauts
2. Check the filename in the upload dialog
3. Check the actually saved filename
## Your setup
**Kirby Version**
5.1.3
**Console output**
None
**Your system (please complete the following information)**
- Device: MacBook Pro
- OS: macOS 26.1
- Browser: Safari
- Version: 26.1
Saerdna
November 20, 2025, 10:07am
3
I wasn’t talking about file names with umlauts. I never use umlauts in file names.
I’m only concerned with the ToC.
… Convert umlauts better for IDs
Förderung → ö = Umlaut
Sorry, I must have misunderstood…
Saerdna
November 20, 2025, 10:39am
5
That is content. Not a name of file.
Saerdna
November 20, 2025, 12:17pm
7
Thank you! : ) What an elegant solution!
A thought for the future:
Would it perhaps make sense to make the language for the slug generator dependent on the main language of the site?
Then there would be a useful default.
Just an idea.