Temp. fix for AttributeError: about 'is_readonly' with locale

GH-242