Runtime bootstrap
Build the metadata and install every translated field bridge before opening a localized Session.
Build the runtime metadata
Create the registry with HibernateI18n so the mapping generator and metadata finalizer are installed. Provide a PostgreSQL DataSource and the annotated Page from the mapping guide.
Registry and schema preparation
Use the DDL manager as the schema owner. Migrate the complete metadata before building the factory and keep Hibernate schema generation disabled.
The upgrade helper requires an auto-commit PostgreSQL connection. It widens existing generated varchar columns to text, preserves values, and leaves missing tables to schema creation.
Install every localized entity
Install once per mapped @Localized entity before the first localized Session. The field list must contain every translated member, and each reader must read its named property.
Register the title bridge
Keep the returned handle and field object for editor access. A missing entity bridge or a miswired reader is rejected.