The sentence should be:
> **** ****
XXYYor XXYYXXYYXXYYetc.) means "Not only XX but also YY".
So it literally means:
"As for Japanese and English, it seems / they say that not only their grammars but also their ways of thinking are quite different."
→ "It seems / they say that Japanese and English are quite different not only in grammar but also in way of thinking."