Skip to main content

LoadNLSBundle

Function LoadNLSBundle 

Source
async fn LoadNLSBundle(
    RunTime: &Arc<ApplicationRunTime>,
    ExtensionPath: &PathBuf,
) -> 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.