Function __global->user_lang__with__translation_override

Definitions

sources/lang.php

  • Get the user's currently selected language, with support for an override when doing a translation.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$post boolean False N/A N/A Whether the language setting is a POST parameter (default is a GET parameter)

Return

  • The user's current language
  • Type: LANGUAGE_NAME
  • Set: N/A
  • Range: N/A