specify locale environment variables

answer from SO: http://stackoverflow.com/a/7413863/260138