Not sure what's with Duo's translation, but I believe the correct translations of these greetings would be: Good morning = 'selamat pagi' Good afternoon = 'selamat siang' Good evening = 'selamat sore' or 'selamat malam' Good night = 'selamat malam' or 'selamat tidur'
Good evening means 'selamat sore' when greeting someone late at noon (around 3pm to 6pm) and means 'selamat malam' when greeting someone later than 6pm. Good night also means 'selamat malam', but it's more commonly translated to 'selamat tidur' instead. You say 'selamat tidur' as a greeting when you and/or the listener(s) are going to turn in for the night.
Any other inputs or corrections from my fellow Indonesians would be awesome :)