list_getLanguages

Description

Loads up information about the existing languages for the list

Syntax

array list_getLanguages ()



Return value

Expected type: Array of arrays
Description: An array containing arrays with information about a particular language. The keys are the language names, and each array has id, count, char_set, default, locale and name


Notes

  • Callback for $listOptions['get_items']['function'] in ManageLanguageSettings
  • Determines which languages are available by looking for the "index.{language}.php" file
  • Also figures out how many users are using a particular language
Advertisement: