A system calling itself socialist for appearances (because the people there knew socialism was good) is quite different than actual socialism.
The unabbreviated version of "Nazi" included the word socialism too. That was deliberate misdirection, as the politicians knew that the people recognized socialism as a good thing.