Chinese folks back in the days would have had zero idea of the difference between somalis and hararis which is subtle at least to a foreign eye and certainly they were not aware of were somalis end and hararis start. As far as they knew all people in the horn of Africa or even all blacks were the same .That’s goofy, that text doesn’t say Somali or Samale. It’s clearly pronounced Sān Malan, the same way they pronounced Zeila correctly. Sān is the Harari root word of the following words: Sāni (which means “straight”), wassāñ (which means “select(as an adjective)/special” like “wassan usu” meaning select people/select few), and Sāñi (which means “ironsmith”). My guess is that Sān is a metal. Malan is a noun version of the word Mala’a (another example is hegana which means to replace). So San Malan would mean “the metal-filled kingdom” referring to the metalworking nature of the kingdom. Makes sense as the old Harla ruins found metalworking workshops present as well metal mines. Even places like Sim in Futuh are tied to metals in the Harari language, as is the case with Simmet (figurately meaning “something of value” but literally meaning “the silver of Sim”). Lots of old Harari words are lost but their remains still exist.
Let's not make stuff up just for the sake of doing it. We can just make some hypothesis but that's it.