Why a dream wish can mean good night
A literal translation is not always the best guide to conversation. The word ฝัน means dream and ดี means good, yet together they can do the same conversational job as an English good-night message. This makes the expression useful even if you have no intention of discussing dreams. A longer bedtime wish is appropriate for close friends or family, but is unnecessary when merely leaving a shop or ending a business meeting.
Small particles make a difference
Thai speakers often add short particles at the end of sentences to express attitude or politeness. The particle นะ can make a bedtime wish gentler rather than changing its basic meaning. The polite particles ครับ and ค่ะ are associated with the speaker and the conversational setting. Do not treat them as words for the person receiving the wish. Listen to the way your conversation partner speaks before copying a very familiar or playful style.
Pronouncing a Thai bedtime farewell
Thai distinguishes five tones, so an English-style spelling cue cannot convey every detail of pronunciation. In ฝันดี, the first syllable has a rising tone and the second a mid tone. In ราตรีสวัสดิ์, the final written consonant group does not produce a string of separate spoken sounds. Practise the expression in short pieces and listen to a recording if possible. A clear, friendly attempt is more useful than trying to imitate an unfamiliar tone pattern at full speed.