JLanguage/1.5

From Joomla! Documentation
< JLanguage
Revision as of 16:20, 17 April 2011 by Doxiki2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[Edit Descripton] Description:JLanguage

Defined in

libraries/joomla/language/language.php

Subpackage

Language

Extends

JObject

Extended by

Methods

Method name Description
_ Translate function, mimics the php gettext (alias _) function.
__construct Constructor activating the default information of the language.
_getCallerInfo Determine who called or .
_load Loads a language file.
_parseLanguageFiles Searches for language directories within a certain base dir.
_parseXMLLanguageFile Parse XML file for language information.
_parseXMLLanguageFiles Parses XML files for language information.
exists Check if a language exists.
get Get a matadata language property.
getBackwardLang Getter for backward compatible language name.
getDebug Get the Debug property.
getDefault Get the default language code.
getInstance Returns a reference to a language object.
getKnownLanguages Returns a list of known languages for an area.
getLanguagePath Get the path to a language.
getLocale Get locale property.
getMetadata Returns a associative array holding the metadata.
getName Getter for Name.
getOrphans Get the list of orphaned strings if being tracked.
getPaths Get a list of language files that have been loaded.
getPdfFontName Getter for PDF Font Name.
getTag Get for the language tag (as defined in RFC 3066).
getUsed Get the list of used strings.
getWinCP Getter for Windows locale code page.
hasKey Determines is a key exists.
isRTL Get the RTL property.
load Loads a single language file and appends the results to the existing strings.
setDebug Set the Debug property.
setDefault Set the default language code.
setLanguage Set the language attributes to the given language.
transliterate Transliterate function.

Importing

jimport( 'joomla.language.language' );

See also

[Edit See Also] SeeAlso:JLanguage

Examples

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox