async fn LoadNLSBundle(
RunTime: &Arc<ApplicationRunTime>,
ExtensionPath: &PathBuf,
PlaceholdersNeeded: bool,
) -> Option<Map<String, Value>>Expand description
Load an extension’s NLS bundle (package.nls.json) into a {key → string}
map. Returns None if the bundle is absent or unreadable; placeholders stay
as-is in that case. Entries can be bare strings or {message, comment}
objects - we only keep message.
The PlaceholdersNeeded flag downgrades the “no bundle” warning when the
caller already proved the manifest has no %placeholder% entries to
resolve - in that case the bundle is optional and its absence is benign
(BATCH-18).