Interface ILocalization

Index

Properties

Methods

Properties

public directory: string

public locale: string

public strings: any

Methods

public Try(spec: any)

Parameters

  • spec: any

public _(id: number, message: string, args?: Array<any>)

Parameters

  • id: number
  • message: string
  • args?: Array<any> optional

public addTranslation(locale: string, domain: string, def: any)

Parameters

  • locale: string
  • domain: string
  • def: any

public fontDirection(): string

Returns

string

public fontFamily(): string

Returns

string

public loadDomain(domain: string): ICallbackObject

Parameters

  • domain: string

Returns

ICallbackObject

public loadDomain(domain: string, callback: ICallbackObject): ICallbackObject

Parameters

Returns

ICallbackObject

public number(value: number): string

Parameters

  • value: number

Returns

string

public plural(value: any): number

Parameters

  • value: any

Returns

number

public setCSS(div: any): any

Parameters

  • div: any

Returns

any

public setLocale(locale: string)

Parameters

  • locale: string