fixed a bug that was not saving/restoring locale information properly through the widgetvalue operators