The full name of Hitler’s party was Nationalsozialistische Deutsche Arbeiterpartei. In English, that translates to National Socialist German Workers’ Party. But it was not a socialist party; it was a right-wing, ultranationalist party dedicated to racial purity, territorial expansion and anti-Semitism — and total political control.
The Nazi party was largely supported by small-business men and conservative industrialists, not the proletariat. Still, left-wing parties such as the Communists and Social Democrats were major parties in 1920s Germany so the inclusion of “socialist” in the party’s name was attractive to working-class voters who might also be anti-Semitic. Hitler adamantly rejected socialist ideas, dismantled or banned left-leaning parties and disapproved of trade unions. In many countries, trade unions played important roles in socialist movements or helped launch political movements that eventually adopted socialist platforms.
Using ONLY the name of an organization to characterize it is the same mistake someone would make if they did that with the "Moral Majority."