PseudoLocalize
Pseudo localizes text. Useful for verifying translation without having actual translations available
Properties
PSEUDO_CHARACTER_MAP
PseudoLocalize.PSEUDO_CHARACTER_MAP: {[string]: string}Mapping of English characters to pseudo localized characters.
Functions
pseudoLocalize
PseudoLocalize.pseudoLocalize(line: string--
The line to translate
) → string--
The translated line
Translates a line into pseudo text while maintaining params
addToLocalizationTable
PseudoLocalize.addToLocalizationTable(preferredLocaleId: string?,--
Preferred locale to use. Defaults to "qlp-pls"
preferredFromLocale: string?--
Preferred from locale. Defaults to "en-us"
) → string--
The translated line
Parses a localization table and adds a pseudo localized locale to the table.