locale vs milieu

locale

noun
  • The place where something happens. 

  • The set of settings related to the language and region in which a computer program executes. Examples are language, currency and time formats, character encoding etc. 

  • A partially ordered set with the following additional axiomatic properties: any finite subset of it has a meet, any arbitrary subset of it has a join, and distributivity, which states that a binary meet distributes with respect to an arbitrary join. (Note: locales are just like frames except that the category of locales is opposite to the category of frames.) 

milieu

noun
  • A social environment or setting. 

  • A group of people with a common point of view; a social class or group. 

  • An environment or setting; a medium. 

How often have the words locale and milieu occurred in a corpus of books? (source: Google Ngram Viewer )