Actions

API17

Difference between revisions of "JLanguage"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (User contributed notes: bad link repair)
Line 245: Line 245:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JLanguage]]</noinclude>
+
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JLanguage]]</noinclude>

Revision as of 13:55, 29 August 2012

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JLanguage

Description

Description:JLanguage [Edit Descripton]

Methods

Visibility Method name Description
public _ Translate function, mimics the php gettext (alias _) function.
public __construct Constructor activating the default information of the language.
public get Get a metadata language property.
public getDebug Get the Debug property.
public getDefault Get the default language code.
public getErrorFiles Get a list of language files that are in error state.
public getFirstDay Get the first day of the week for this language.
public getIgnoredSearchWords getIgnoredSearchWords function
public getIgnoredSearchWordsCallback Getter for ignoredSearchWordsCallback function.
public getLocale Get the language locale based on current language.
public getLowerLimitSearchWord getLowerLimitSearchWord function
public getLowerLimitSearchWordCallback Getter for lowerLimitSearchWordCallback function.
public getName Getter for Name.
public getOrphans Get the list of orphaned strings if being tracked.
public getPaths Get a list of language files that have been loaded.
public getPluralSufficesCallback Getter for pluralSuffixesCallback function.
public getPluralSuffixes pluralSuffixes function
public getPluralSuffixesCallback Getter for pluralSuffixesCallback function.
public getSearchDisplayedCharactersNumber getSearchDisplayedCharactersNumber function
public getSearchDisplayedCharactersNumberCallback Getter for searchDisplayedCharactersNumberCallback function.
public getTag Getter for the language tag (as defined in RFC 3066).
public getTransliterator Getter for transliteration function.
public getUpperLimitSearchWord getUpperLimitSearchWord function
public getUpperLimitSearchWordCallback Getter for upperLimitSearchWordCallback function.
public getUsed Get the list of used strings.
public hasKey Determines is a key exists.
public isRTL Get the RTL property.
public load Loads a single language file and appends the results to the existing strings.
public setDebug Set the Debug property.
public setDefault Set the default language code.
public setIgnoredSearchWordsCallback Setter for the ignoredSearchWordsCallback function.
public setLanguage Set the language attributes to the given language.
public setLowerLimitSearchWordCallback Setter for the lowerLimitSearchWordCallback function.
public setPluralSuffixesCallback Set the pluralSuffixes function.
public setSearchDisplayedCharactersNumberCallback Setter for the searchDisplayedCharactersNumberCallback function.
public setTransliterator Set the transliteration function.
public setUpperLimitSearchWordCallback Setter for the upperLimitSearchWordCallback function.
public transliterate Transliterate function.
public static _parseLanguageFiles Searches for language directories within a certain base dir.
public static _parseXMLLanguageFile Parse XML file for language information.
public static _parseXMLLanguageFiles Parses XML files for language information.
public static exists Check if a language exists.
public static getInstance Returns a language object.
public static getKnownLanguages Returns a list of known languages for an area.
public static getLanguagePath Get the path to a language.
public static getMetadata Returns a associative array holding the metadata.
public static parseLanguageFiles Searches for language directories within a certain base dir.
public static parseXMLLanguageFile Parse XML file for language information.
public static parseXMLLanguageFiles Parses XML files for language information.
protected getCallerInfo Determine who called or .
protected loadLanguage Loads a language file.
protected parse Parses a language file.
  • Defined in libraries/joomla/language/language.php
  • Extends JObject

Importing

jimport( 'joomla.language.language' );

See also

SeeAlso:JLanguage [Edit See Also]

User contributed notes

<CodeExamplesForm />