Switching to attr_writer for locale getter/setter