linux: Add locale support.