When a typewriter is so dirty or filled with dried pineapple juice, you sometimes have to take drastic measures. Soapy, drastic measures.
It's the 'old dip-and-dunk.
Vigorous dunking loosens all the dirt. A rinse with hot, hot water comes next. Then, it's off to the oven for a bit of drying. I think 130° F until all the water has evaporated. Oil (ribbon spool posts, carriage rails, shift linkage, other similar parts) while warm and enjoy a very clean typewriter ready for another 60 years.