Skip to content

Weird example in Core Libraries > Text > Text::transliterate() - #8219

Merged
dereuromark merged 2 commits into
cakephp:5.xfrom
4nimii:5.x
Feb 3, 2026
Merged

dereuromark merged 2 commits into
cakephp:5.xfrom
4nimii:5.x

Conversation

@4nimii

@4nimii 4nimii commented Feb 3, 2026

Copy link
Copy Markdown

In the example usages for the function Text::transliterate(), we have the following example:

Text::transliterate('Übérmensch', 'Latin-ASCII;');

Übermensch in German can refer to Superman, which might be the original intention, but it can also refer to "superior man" which can be link to either Nietzsche or the Nazis.

I believe this example should be changed to something more neutral.

I propose using größeren Apfelkuchen, which means "bigger apple pie," as it also demonstrates the capability of transliterate() to convert ß to ss.

@dereuromark
dereuromark merged commit 21f8829 into cakephp:5.x Feb 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants