Class: zTranslateService

zTranslateService()

Module translation service.

Constructor

new zTranslateService()

Perform the translation initialization and check the dates.
Author:
Source:

Classes

zTranslateService

Members

t :TFunction

Function used to Translate.
Type:
  • TFunction
Author:
Source:

Methods

(static) destroyInstance()

Function used to destroy instance of zTranslateService
Author:
Source:

(static) getInstance()

Function used to get instance of zTranslateService
Author:
Source:
Returns:
zTranslateService

getCurrentLanguage()

Function get current Language.
Author:
Source:
Returns:
string

setCurrentLanguage(lang)

Function define current language.
Parameters:
Name Type Description
lang string Language Translate.
Author:
Source:

t()

Function used to Translate.
Author:
Source: