PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> Call (excerpt):
> initdb.exe .. -E UTF8 --locale=de-x-icu --text-search-config=german ..
PG v15 is the first to allow ICU locales as database-wide locale
settings, so it's not too surprising that this fails in v10.
regards, tom lane