A young blonde girl that lives in a village falls in love with a rich young stranger boy . He promises her to take her with him but he leaves her at a train station. the ending scene is when he returns after many years to look for her and he meets a young man , which looks exactly just like him ( he was hes son).
That reminds me a little bit of “The Painted Veil.” Some of the details are different, though, as it is a married woman having an affair, but the rest seems to match pretty well.
https://en.wikipedia.org/wiki/The_Painted_Veil_(2006_film)