expLang

define

"BASE" "../../.."

package

Subsystems

Methods

createNewLangFile

createNewLangFile( $newlang) 
static

Arguments

$newlang

createNewLangInfoFile

createNewLangInfoFile( $newlang,  $newauthor,  $newcharset,  $newlocale) 
static

Arguments

$newlang

$newauthor

$newcharset

$newlocale

getLangs

getLangs() 
static

Get phrase from current language library

gettext( $str) : string
static

Arguments

$str

Response

string

initialize

initialize() 
static

langList

langList() 
static

Write the entire current phrase library (in memory) to it's language file

saveCurrLangFile() 
static

translate

translate( $text,  $from = 'en',  $to = 'fr') 
static

Arguments

$text

$from

$to

Populate/expand missing phrases in current language file from default language file

updateCurrLangFile() : integer
static

Response

integer

Add a new phrase to the default language file if WRITE_LANG_TEMPLATE turned on

writeTemplate( $str) 
static

Arguments

$str

Add a new phrase to the custom theme language file

writeTemplate_custom( $str) 
static

Arguments

$str