They had "socialist" in the name as a legacy of the pre-Hitler roots of the party. However, that Strasser faction of the party was purged by the right-wing faction of the Nazis during the night of the long knives. That original version of Nazism was arguably socialist, in that it was a worker's party where the antisemitism was class-based, growing out of hatred of Jewish bankers. The Hitlerite version, though, was strongly right-wing. It hated Jews on racial grounds. The Hitler faction was militarist, nationalist, xenophobic, traditionalist, violently anti-communist, anti-union (abolishing unions, collective bargaining, and the right to strike), and reactionary in the sense of imagining some brighter past to which they could return.
At the time, people understood the Nazis to be a party of the right. The Democratic Socialists and the leftists opposed them, while the traditional right-wing parties allied with them. Von Papen, for example, was a conservative and monarchist and he engineered Hitler's rise to power because he viewed Hitler as an ally in the fight against Marxists and liberals. And he wasn't mistaken in understanding Hitler's views that way. Here's what Hitler had to say about the aims of the Nazis:
"The main plank in the Nationalist Socialist program is to abolish the liberalistic concept of the individual and the Marxist concept of humanity and to substitute for them the folk community, rooted in the soil and bound together by the bond of its common blood."
"The Jewish doctrine of Marxism rejects the aristocratic principle of Nature and replaces the eternal privilege of power and strength by the mass of numbers and their dead weight."
Since Hitler was a totalitarian, he's mistaken by some right-wingers today as a socialist, because they view socialism as an interchangeable concept with big government. Plus, they get hung up on the fact "socialist" was in the party's name. But that would be like assuming East Germany and North Korea must be democracies because they have the word "democratic" in their names.