For Tridion Sites 9.5 and DXA 2.2, using GraphQL to query the metadata information on a publication returns null results
000014029|12/6/2023 2:48 PM
SDL Tridion Sites 9.5
- Developer has attached metadata to a publication in Tridion Sites 9.5 and DXA 2.2. - Developer attempts to query the metadata information on a web application using GraphQL, and this returns no information. The desired metadata is the language/locale information of the publications.
The localization settings for Tridion Sites is stored as a JSON binary as part of the DXA TBBs. These are retrievable as binaries in the delivery system, and is DXA specific functionality. These binaries can be fetched via GraphQL, they have a URL such as the below