Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/localization-utilities

localization-utilities package

Some utilities for working with Rush Stack localization files.

Classes

ClassDescription
TypingsGeneratorThis is a simple tool that generates .d.ts files for .loc.json, .resx.json, .resjson, and .resx files.

Functions

FunctionDescription
getPseudolocalizer(options)Get a function that pseudolocalizes a string.
parseLocFile(options)
parseLocJson({ content, filePath, ignoreString })
parseResJson({ content, ignoreString, filePath })
parseResx(options)

Interfaces

InterfaceDescription
ILocalizationFile
ILocalizedString
IParseFileOptions
IParseLocFileOptions
IParseResxOptions
IParseResxOptionsBase
IPseudolocaleOptionsOptions for the pseudolocale library.
ITypingsGeneratorOptions

Type Aliases

Type AliasDescription
IgnoreStringFunction
ParserKind