Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface I18nOptions

Definition of the supported options for the translator library.

Hierarchy

  • I18nOptions

Index

Properties

allowHtml

allowHtml: boolean

attrInterpolateSelector

attrInterpolateSelector: "[data-attr-t-interpolate]" | string

attrInterpolateSuffix

attrInterpolateSuffix: "-t-interpolate" | string

attrSelector

attrSelector: "[data-attr-t]" | string

attrSuffix

attrSuffix: string

baseDir

baseDir: string

exclude

exclude: Array<any>

fileFormat

fileFormat: "json" | string

files

files: string

interpolateSelector

interpolateSelector: "[data-t-interpolate]" | string

locale

locale: string

Readonly localeFile

localeFile: "__lng__.json"

locales

locales: Array<string>

localesPath

localesPath: string

Readonly outputDefault

outputDefault: "__file__"

outputDir

outputDir: string

Readonly outputOther

outputOther: "__lng__/__file__"

outputOverride

outputOverride: {}

Type declaration

  • [index: string]: string

removeAttr

removeAttr: boolean

replace

replace: boolean

selector

selector: "[data-t]" | string

useAttr

useAttr: boolean

xml

xml: boolean