Fix #44: add locale override support