The two words in Bari gisher
Բարի expresses goodness or kindness, while գիշեր means night. Together they form the conventional wish for the end of an evening. The same adjective appears in other time-related expressions, such as Բարի երեկո, which means good evening. Recognising the second word helps you pick the right greeting. If you are being welcomed by hosts for an evening meal, the evening greeting is appropriate; save the night-time farewell for the end of the visit.
A warmer wish in a different order
Գիշերդ բարի includes a familiar possessive ending on the word for night and gives the wish a more personal feel. It can be used in a bedtime exchange between people who know each other. Լավ քնես is a further wish for good sleep. These expressions are useful to recognise when staying with friends, since the words may not be the same as the standard farewell you learnt from a phrasebook.
Eastern Armenian sounds and writing
In the pronunciation of Բարի գիշեր, the g is hard, as in English go, and շ represents the sh sound. The Armenian alphabet writes these sounds with letters that are distinct from Latin or Cyrillic. Some diaspora communities use Western Armenian, which has different consonant pronunciations. The sound cues here follow Eastern Armenian, so someone whose family uses a Western Armenian variety may pronounce a related expression differently or prefer another conventional wording.