Expand description
§Languages Effect (CreateEffectForRequest)
Effect constructor for the Languages.GetAll RPC method. Aggregates
language contribution metadata from all scanned extensions (from
ApplicationState.Extension.ScannedExtensions) and merges duplicate
language IDs by unioning their aliases, extensions, filenames, filename
patterns, and mimetypes. The result is returned as a flat JSON array
matching the shape expected by Cocoon’s languages.getAll API.
§Aggregation behavior
- Each extension’s
contributes.languagesarray is scanned. - Languages with the same
idare merged (first-wins forconfiguration). - Array fields (aliases, extensions, filenames, filenamePatterns, mimetypes) are deduplicated across all contributing extensions.