environment vs locale

environment

noun
  • The surroundings of, and influences on, a particular item of interest. 

  • The set of variables and their values in a namespace that an operating system associates with a process. 

  • All the elements that affect a system or its inputs and outputs. 

  • A particular political or social setting, arena or condition. 

  • The environment of a function at a point during the execution of a program is the set of identifiers in the function's scope and their bindings at that point. 

  • The natural world or ecosystem. 

  • The software and/or hardware existing on any particular computer system. 

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

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