Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReactLocalization

Hierarchy

  • ReactLocalization

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

bundles

bundles: Iterable<FluentBundle>

parseMarkup

parseMarkup: null | MarkupParser

Methods

getBundle

  • getBundle(id: string): null | FluentBundle

getString

  • getString(id: string, args?: null | Record<string, FluentVariable>, fallback?: string): string
  • Parameters

    • id: string
    • Optional args: null | Record<string, FluentVariable>
    • Optional fallback: string

    Returns string

reportError

  • reportError(error: Error): void