Cristiano Ronaldo has ended his Portugal career after more than two decades, 234 appearances and 146 goals, but is expected to continue playing club football for Al Nassr.