The Spanish, Italian, French, etc all made different plugs, however not made to the quality of the English plug, we did some thing no other nation has done, during the second world war we started to design a system to allow us to rebuild after the war and abandoned the old, nearly every other country has tried to make things backwards compatible. So around the rest of the world you get sockets like this
It is made to take a whole load of plugs and together with similar sockets you have a bodge allowing near every plug to fit every socket. However even in the UK there are problems, the British shaver plug is not quite the same size as a German two pin plug, but with a bit of a push they will fit, but in doing so it can strain the bits giving pressure on the contact points and so mean they over heat. A shaver uses so little current not really a problem, but using a plug which will fit at a push is not always good.
So many countries have given up their own plug and fitted the German rubbish, I say rubbish as it can be inserted either way around and plugs needing an earth will fit in sockets which don't have an earth. So Turkey has for one nearly abandoned their own plug and use German, and the same with many other countries.
This link shows many of the options but in hotels and the like often even if rest of the country has their own plug the hotel will have the German one.
Because however the German plug can be reversed it is not permitted by British regulations, so visitors to UK have to use adaptors, although the socket above will take all sorts it is not permitted in the UK. Often hotels and camp sites are built for tourists from one nation. I have used a static caravan in France with all UK sockets.
What I would do is take a multi-socket with me, and when I get to country then buy a plug, or in fact one of their multi-sockets and swap the plugs, so I have one I can use when I get back with anything I buy there, and one I use there with anything I took out with me.