Hierarchy

Constructors

  • Parameters

    • extendsLanguage: string

    Returns default

Properties

contextRules: IContextRules = {}
dictionaries: Map<string, Map<string, string[]>> = ...
language: string
pluralizationRules: IPluralizationRules = ...

Methods

  • Parameters

    • dictionaryName: string
    • entry: string

    Returns undefined | string[]

  • Parameters

    • rules: {
          isSentenceSeparator?: string | RegExp;
          isWord?: string | RegExp;
          isWordSeparator?: string | RegExp;
          shouldCapitalizeWord?: string | RegExp;
      }
      • Optional isSentenceSeparator?: string | RegExp
      • Optional isWord?: string | RegExp
      • Optional isWordSeparator?: string | RegExp
      • Optional shouldCapitalizeWord?: string | RegExp

    Returns default

  • Parameters

    • dictionary: string
    • translations: Record<string, string | string[]> | Map<any, string | string[]>

    Returns default

  • Parameters

    • Rest ...rules: [string, string][]

    Returns default

  • Parameters

    • Rest ...rules: (string | RegExp)[]

    Returns default

Generated using TypeDoc