 Sam speaks "seven modern languages and four dead ones" including  Japanese (which he uses in this episode). Other languages he speaks  are English, French, Spanish and German. He can not speak Italian or  Hebrew (thats what Al is for). He can read Egyptian Hieroglyphics.