You can do the ifr training in Spain. This rating will be added to your uk license. Itīs not possible to do the cpl part in spain, because the school needs an approval from the UK CAA. So you can do the cpl training and the check ride in the UK or in the states ( there are some JAA schools with an UK CAA approval ).