Skip to content

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

Merged
dereuromark merged 2 commits intocakephp:5.xfrom
j04chim:5.x
Feb 3, 2026
Merged

Weird example in Core Libraries > Text > Text::transliterate() #8219
dereuromark merged 2 commits intocakephp:5.xfrom
j04chim:5.x

Conversation

@j04chim
Copy link
Contributor

@j04chim j04chim commented Feb 3, 2026

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