Skip to main content

Module extract

Module extract 

Source
Expand description

NLS key extraction from TypeScript source files

Extracts localization keys from various patterns:

  • nls.localize(‘key’, ‘default’)
  • nls.localize2(‘key’, ‘default1’, ‘default2’)
  • nls.localizeWithFlattenedArgs(…)
  • localize(‘key’, ‘default’)

Structs§

NLSExtractor
Extracts NLS keys from TypeScript source

Functions§

extract_nls_keys
Extract NLS keys from source code using regex