One of the many difficulties inherent in creating a dictionary that accurately reflects the language of any large group of people is that these people may not all view certain words and values as equal. Nationalism and patriotism present us with an appropriately problematic pair with which to illustrate this. Are these words synonymous? Is one an insult, and the other not? Can either of them mean different things to different people?
Source: The Difference Between ‘Patriotism’ and ‘Nationalism’ | Merriam-Webster