The state government will shut down for 12 days and trim millions of dollars in financing for local governments under a proposed plan by Gov. Donald L. Carcieri.