 He scored his first international goals on 31 May 2006 against Trinidad and Tobago, when he scored all three goals for Slovenia in a 3–1 win.He retired from international football on 13 February 2012, saying he wanted to focus on club football.However, in January 2013 he said that he is ready to play for the national football team once again.