Les Miserables with Jean-Paul Belmondo is pretty amazing. It is set in Nazi Germany war times and loosely refers to the universal themes in original Les Miserables. It is one of my favorite movies, but rather hard to find.
You’re right, I seem to remember that there was one that was set in the ww2 era! I couldn’t remember it for some reason until you mentioned it!