Apparently you don't know about katakana, its a form of the Japanese alphabet that is specifically used for foreign words translated to Japanese. The pronunciation of these words sounds similar to their foreign counterparts. think sararimam == salaryman, hanba-gu == hamburger, terebijon == television and so on.
katakana - https://en.wikipedia.org/wiki/Katakana