Function __global->fallback_lang

Definitions

sources/lang.php

  • This function is called when no other language works, and it will return the original default language - 'EN'. You may change this to another language, but this is not advised, as the software is being shipped with the EN language complete and unabridged as standard - hence you cannot go wrong if you leave it as EN.In theory, this is the only hook to English that there is.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Returns

  • The fallback language
  • Type: LANGUAGE_NAME
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * This function is called when no other language works, and it will return the original default language - 'EN'. You may change this to another language, but this is not advised, as the software is being shipped with the EN language complete and unabridged as standard - hence you cannot go wrong if you leave it as EN.In theory, this is the only hook to English that there is.
 *
 * @return LANGUAGE_NAME The fallback language
 */

function fallback_lang() : string