Declarative syntax support for locale. Removed readonly property as default.