locale vs locality

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.) 

locality

noun
  • The features or surroundings of a particular place. 

  • Limitation to a county, district, or place. 

  • The fact or quality of having a position in space. 

  • A built-up area, i.e. a city, town or village 

  • An area or district considered as the site of certain activities; a neighbourhood. 

  • The condition of being local. 

  • The situation or position of an object. 

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