Adds option to enable/disable locale code
and resolves #107