The source for dutch realtext includes translations for gdamn and gdamned. Since we use the library to seed a acceptance that we wish to share with customers, this is not ok for us. For now the workaround is setting the locale to Flemish.
Versions
Version
PHP
8.2.13
fakerphp/faker
1.23.1
Self-enclosed code snippet for reproduction
return [
'title' => fake()->realText(),
]
Expected output
Something that does not contain profanities
Actual output
[
"title" => "Een man die geld kwam ophalen voor de Partijkas, dan gaf hij hun een
sigaar op, van mij, een sigaar in z'n kamer, hardop:\"Een groot dichter zijn en dan vallen,
Godverdomme.\" "
]
Summary
The source for dutch realtext includes translations for gdamn and gdamned. Since we use the library to seed a acceptance that we wish to share with customers, this is not ok for us. For now the workaround is setting the locale to Flemish.
Versions
fakerphp/faker
Self-enclosed code snippet for reproduction
Expected output
Actual output