“Middle school” in Chinese is 中学 (zhōngxué).
我是在日本上的中学。
I went to middle school in Japan.
Example sentence from Tatoeba (CC BY 2.0).