Method |
Description |
|
act ( string $key, boolean $fallback = true ) : string |
Get an action from the language-file |
|
buildCache ( string $language, string $application ) |
Build the language files |
|
err ( string $key, boolean $fallback = true ) : string |
Get an error from the language-file |
|
getAction ( string $key, boolean $fallback = true ) : string |
Get an action from the language-file |
|
getActions ( ) : array |
Get all the actions |
|
getActiveLanguages ( ) : array |
Get the active languages |
|
getBrowserLanguage ( boolean $forRedirect = true ) : string |
Get the preferred language by using the browser-language |
|
getError ( string $key, boolean $fallback = true ) : string |
Get an error from the language-file |
|
getErrors ( ) : array |
Get all the errors |
|
getLabel ( string $key, boolean $fallback = true ) : string |
Get a label from the language-file |
|
getLabels ( ) : array |
Get all the labels |
|
getMessage ( string $key, boolean $fallback = true ) : string |
Get a message from the language-file |
|
getMessages ( ) : array |
Get all the messages |
|
getRedirectLanguages ( ) : array |
Get the redirect languages |
|
lbl ( string $key, boolean $fallback = true ) : string |
Get a label from the language-file |
|
msg ( string $key, boolean $fallback = true ) : string |
Get a message from the language-file |
|
setLocale ( string $language = null, boolean $force = false ) |
Set locale |
|