Fixed locale generation for virtual machine