The Foreign Affairs Ministry says South Africa hopes to share its experience transitioning from apartheid to democracy as part of the international effort to achieve peace in the Middle East .