Please modify the given text to be more logical.
South Africa is now represented in Taipei by the Liaison Office of the Republic of South Africa. Taiwan is represented by the Taipei Liaison Office in the South Africa in Pretoria.
South Africa is now represented in Taipei by the Liaison Office of the Republic of South Africa. Similarly, Taiwan is represented by the Taipei Liaison Office in the Republic of South Africa in Pretoria.