Optional
contextOptional
countCount value used for plurals
Optional
defaultDefault value to return if a translation was not found
Optional
fallbackOverride language to lookup key if not found see fallbacks for details
Optional
interpolationOverride interpolation options
Optional
joinChar, eg. '\n' that arrays will be joined by (can be set globally too)
Optional
keyOverride char to separate keys
Optional
lngOverride language to use
Optional
lngsOverride languages to use
Optional
nsOverride namespaces (string or array)
Optional
nsOverride char to split namespace from key
Optional
ordinalOrdinal flag for ordinal plurals
Optional
postString or array of postProcessors to apply see interval plurals as a sample
Optional
replaceObject with vars for interpolation - or put them directly in options
Optional
returnReturns an object that includes information about the used language, namespace, key and value
Optional
returnAccessing an object not a translation string (can be set globally too)
Generated using TypeDoc
Used for contexts (eg. male\female)