Parameters [extension] Name of the extension
Returns Array of loaded language file paths
Appendix
[ 414 ]
getPdfFontName( ) : string
Gets the PDF font name.
Returns PDF font name
getTag( ) : string
Gets the language tag, for example en-GB.
Returns Language tag
getUsed( ) : array
Gets an array of strings that were successfully translated.
Returns Array of successfully translated strings
getWinCP( ) : string
Gets the Windows Code Page name.
Returns Windows Code Page name
hasKey( key : string ) : boolean
Checks if a translation exists.
Parameters key Translation to look for
Returns true if translation exists
isRTL( ) : boolean
Checks if the language is written right-to-left.
Returns true if Language is written right-to-left
load( extension : string='joomla', basePath : string=JPATH_BASE ) :
boolean
Loads a language file. extension is used to identify the extension for which we are
loading the language file, this determines where the file is located. basePath is one level
above where the languages reside.
Pages:
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574