Casablanca was released in the U.S. in 1942, in the middle of World War II, but it wasn't released in Germany until 1952, after the war was over. For that German version, Warner Bros. deleted all scenes with Nazis in them, and almost all mention of the war. It became a completely different story after all, Casablanca is a movie about Nazis and the war.
...
The scene where customers at Rick's Café drown out German soldiers with the French anthem, "La Marseillaise"? Gone. Even characters were rewritten: Resistance fighter Victor Laszlo became a Norwegian atomic physicist, renamed Victor Larsen, who discovers mysterious delta rays and is on the run from Interpol.
In the original, when Bogart's character, Rick, talks to corrupt French policeman Louis Renault, he says Laszlo "escaped from a concentration camp; the Nazi's have been chasing him all over Europe." In the German version, Rick doesn't mention concentration camps or Nazis; instead, the dubbing actor says, "He broke out of jail, and has escaped many people before you."
...
People were reticent to talk about Nazism, and government and cultural organizations were cautious. Kapczynski says, "There is this sense that in showing characters from the Nazi past and the figure of Hitler, absolutely there is this danger of perhaps awakening in people a desire for a period of time, a period in history, from which they are absolutely cut off. It might reawaken these lingering desires for a fascist history."
https://www.npr.org/2017/12/17/565777766/whats-casablanca-without-nazis-after-wwii-german-audiences-found-out
Appropriately for the OP: