A child who lived in a jail compound in Mauritius for five years is settling in with her grandmother in South Africa.