Both are slapstick comedy movies about a young kickass kung fu artist joining a sports team of sports involving balls.
Both these movies are about using martial arts in sports (Kung Fu Dunk - Basketball) (Shaolin soccer...Obviously soccer.)
The same actor. If your looking for similar action and kungfu style, kungfu hustle's martial arts potrayed more advance techniques and visual effects. Have fun watching.