Interface ITranslateProvider

Hierarchy

Index

Properties

Methods

Properties

public $get: any

Methods

public addInterpolation(factory: any): ITranslateProvider

Parameters

  • factory: any

Returns

ITranslateProvider

public cloakClassName(): string

Returns

string

public cloakClassName(name: string): ITranslateProvider

Parameters

  • name: string

Returns

ITranslateProvider

public determinePreferredLanguage(fn?: () => void): ITranslateProvider

Parameters

  • fn?: () => void optional

Returns

ITranslateProvider

public fallbackLanguage(): string

Returns

string

public fallbackLanguage(language: string): ITranslateProvider

Parameters

  • language: string

Returns

ITranslateProvider

public fallbackLanguage(languages: Array<string>): ITranslateProvider

Parameters

  • languages: Array<string>

Returns

ITranslateProvider

public preferredLanguage(): string

Returns

string

public preferredLanguage(language: string): ITranslateProvider

Parameters

  • language: string

Returns

ITranslateProvider

public registerAvailableLanguageKeys(): Array<string>

Returns

Array<string>

public registerAvailableLanguageKeys(languageKeys: Array<string>, aliases?: ILanguageKeyAlias[]): ITranslateProvider

Parameters

Returns

ITranslateProvider

public storageKey(): string

Returns

string

public storageKey(key: string)

Parameters

  • key: string

public storagePrefix(): string

Returns

string

public storagePrefix(prefix: string): ITranslateProvider

Parameters

  • prefix: string

Returns

ITranslateProvider

public translationNotFoundIndicator(indicator: string): ITranslateProvider

Parameters

  • indicator: string

Returns

ITranslateProvider

public translationNotFoundIndicatorLeft(): string

Returns

string

public translationNotFoundIndicatorLeft(indicator: string): ITranslateProvider

Parameters

  • indicator: string

Returns

ITranslateProvider

public translationNotFoundIndicatorRight(): string

Returns

string

public translationNotFoundIndicatorRight(indicator: string): ITranslateProvider

Parameters

  • indicator: string

Returns

ITranslateProvider

public translations(): ITranslationTable

Returns

ITranslationTable

public translations(key: string, translationTable: ITranslationTable): ITranslateProvider

Parameters

Returns

ITranslateProvider

public use(): string

Returns

string

public use(key: string): ITranslateProvider

Parameters

  • key: string

Returns

ITranslateProvider

public useCookieStorage(): ITranslateProvider

Returns

ITranslateProvider

public useInterpolation(factory: string): ITranslateProvider

Parameters

  • factory: string

Returns

ITranslateProvider

public useLoader(loaderFactory: string, options: any): ITranslateProvider

Parameters

  • loaderFactory: string
  • options: any

Returns

ITranslateProvider

public useLocalStorage(): ITranslateProvider

Returns

ITranslateProvider

public useMessageFormatInterpolation(): ITranslateProvider

Returns

ITranslateProvider

public useMissingTranslationHandler(factory: string): ITranslateProvider

Parameters

  • factory: string

Returns

ITranslateProvider

public useMissingTranslationHandlerLog(): ITranslateProvider

Returns

ITranslateProvider

public usePostCompiling(value: boolean): ITranslateProvider

Parameters

  • value: boolean

Returns

ITranslateProvider

public useSanitizeValueStrategy(value: string): ITranslateProvider

Parameters

  • value: string

Returns

ITranslateProvider

public useStaticFilesLoader(options: ISTaticFilesLoaderOptions): ITranslateProvider

Parameters

Returns

ITranslateProvider

public useStorage(storageFactory: any): ITranslateProvider

Parameters

  • storageFactory: any

Returns

ITranslateProvider

public useUrlLoader(url: string): ITranslateProvider

Parameters

  • url: string

Returns

ITranslateProvider