につけ
Meanings
1
usually written using kana alone
Follows a verb of cognition (e.g., 見る, 思う, 聞く) to mean 'every time one does X' or 'whenever X happens'. Often used in written or slightly formal contexts.
Every time I see her face, I remember my hometown.
Whenever I hear this song, I feel nostalgic for my school days.
2
whether ... or ...; in either case
usually written using kana alone
Used in the pattern AにつけBにつけ to mean 'whether A or B' or 'in both cases'. Often with contrasting pairs (e.g., 良いにつけ悪いにつけ).
Whether good or bad, we have no choice but to accept the result.
Whether it's rainy or windy, he goes out for a walk every day.