They aadpt there from migration
The system of law you seek is "<span>sharia"
</span>
the Union of South Africa was created as a self-governing dominion of the British Empire on 31 May 1910 in terms of the South Africa Act 1909, which amalgamated the four previously separate British colonies
Eight years after the end of the Second Boer War and after four years of negotiation, an act of the British Parliament (South Africa Act 1909) granted nominal independence, while creating the Union of South Africa on 31 May 1910