Locale Variable

Adds a new `locale` standard variable as detailed by #162.