Expose `locales` property in the private header.