Is 4 years of a foreign language equivalent to earning 4 high school credits for college admissions? [AP level (highest level offered) taken in 10th grade]

Are you still looking at Oxford and UK universities?