Locale is incompatible error in Postgresql 10 when replicating from Ubunu to Win 10
You can't copy a data directory (which is what pg_basebackup does) between two different operating systems. The missing locale is just one symptom. If you need to replicate between Linux and Windows use logical replication – a_horse_with_no_name