Add support for locale cascading for documents and fields.