Multilanguage

Utitlity class for multilang

since

2.5.4

Methods

getSiteHomePages

Method to return a list of language home page menu items.

getSiteHomePages() : array
static
since

3.5

Response

arrayof menu objects.

getSiteLangs

Method to return a list of published site languages.

getSiteLangs() : array
static deprecated
since

3.5

deprecated

3.7.0 Use \JLanguageHelper::getInstalledLanguages(0) instead.

Response

arrayof language extension objects.

isEnabled

Method to determine if the language filter plugin is enabled.

isEnabled() : boolean
static

This works for both site and administrator.

since

2.5.4

Response

booleanTrue if site is supporting multiple languages; false otherwise.