\Localization

Implements support to localization. Currently is supported english, spanish and portuguese.

Summary

Methods
Properties
Constants
singleton()
setLanguage()
getLanguage()
getLocale()
translate()
negotiatedLanguage()
getAvaliableLanguages()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
__construct()
getLanguagePack()
supports()
$locale
$language
$enabled
$packs
$supported
$negotiate
$winLocales
$forComponent
N/A

Properties

$locale

$locale : 

Type

$language

$language : 

Type

$enabled

$enabled : 

Type

$packs

$packs : 

Type

$supported

$supported : 

Type

$negotiate

$negotiate : 

Type

$winLocales

$winLocales : 

Type

$forComponent

$forComponent : 

Type

Methods

singleton()

singleton() 

setLanguage()

setLanguage(  $language) 

Parameters

$language

getLanguage()

getLanguage() 

getLocale()

getLocale() 

translate()

translate(  $array) 

Parameters

$array

negotiatedLanguage()

negotiatedLanguage(  $forConversion = '') 

Parameters

$forConversion

getAvaliableLanguages()

getAvaliableLanguages() 

__construct()

__construct() 

getLanguagePack()

getLanguagePack(  $language = FALSE) 

Parameters

$language

supports()

supports(  $language) 

Parameters

$language