locate-locale

A tiny library for getting the current system and user locale in the format ISO 15897, i.e. "en_US".