Loading Locales

New locales defined in a schema file (but that are not in the database) are never added to the database. Existing locales are not modified or deleted by the loading of a schema. Locale attributes defined in a schema file do not override existing locale attributes. If you add, delete, or modify the locales of a schema, a subsequent reload of the schema does not restore the locale structure defined in the schema file.

The default locale defined in a schema file is applied only to new schemas. If you change the default locale of a schema, a subsequent reload of the schema does not restore the default locale to the schema file defined value.

When you first add a schema to a database in the JADE development environment, an initial base locale is created for the current session locale.

When you first load a schema into a database, locales are created as specified in the schema file. If no locale was found to match the current session locale at the end of the load process, one is created as a clone of the schema default locale.

When loading a schema definition file, you must create the new base locales before loading the schema. If you do not do so, the new locales are ignored.