Class QSampleTranslation
Extend this class to create different translation objects
-
QSampleTranslation
implements
QTranslationBase
Methods summary
public static
QTranslationBase
|
#
Initialize( )
Used to initialize translation
Should return initiated translation object
Used to initialize translation
Should return initiated translation object
Returns
Implementation of
|
public static
QTranslationBase
|
#
Load( string[optional] $strLanguageCode = null, string[optional] $strCountryCode = null )
Used to load translation instance
Used to load translation instance
Parameters
- $strLanguageCode
- Language code
- $strCountryCode
- Country code
Returns
Implementation of
|
public
|
#
__construct( $strLanguageCode = null, $strCountryCode = null )
|
public
string
|
#
TranslateToken( string $strToken )
Translates given token to given translation language
Translates given token to given translation language
Parameters
Returns
string
Implementation of
|