• Translate a string containing an object which possibly requires a plural form

    Type Parameters

    • T extends string
    • K extends string

    Parameters

    • app: string

      the id of the app for which to translate the string

    • textSingular: T

      the string to translate for exactly one object

    • textPlural: K

      the string to translate for n objects

    • number: number

      number to determine whether to use singular or plural

    • Optionalvars: TranslationVariables<T> & TranslationVariables<K>

      of placeholder key to value

    • Optionaloptions: TranslationOptions

      options object

    Returns string

MMNEPVFCICPMFPCPTTAAATR