Add LANG= if not in locale file, fixes #4551

Kind of brute force, but does the job. Also added for RedHat.