ところが
ところがtokoroga
N3usually written in kana
ところが (ところが) means however; but (unexpectedly).
Meaning(conjunction)
however; but (unexpectedly)
JMdict: even so; however; still; whereupon
Shows a result contrary to expectation.
Examples
晴れると思っていました。ところが、午後から雨が降りました。
I thought it would be sunny. However, it rained from the afternoon.
Related grammar
Readings and English glosses: JMdict (EDRDG, CC BY-SA 4.0). Vietnamese meanings, Sino-Vietnamese and examples: Shigoto Pass. Data sources