Translatable::get_existing_content_languages
Get a list of languages with at least one element translated in (including the default language)
Signature
public function get_existing_content_languages([string
$className = 'SiteTree',
[string
$where = '']] )
Parameters
$className
— string- Look for languages in elements of this class
$where
— string- Optional SQL WHERE statement
Returns
- array
- Map of languages in the form locale => langName