Table of Content
HAL Forum
function string WebLanguage (
integer nr)
Description:
returns default language for browser
Parameters:
nr 1 - first default language for browser, 2 - second, 3 - third
global
function string 200 GetWebLanguage()
begin
  string 200 lang;
  
  lang = WebGetArg("langcode");
  if (blank(lang)) then begin
    lang = WebLanguage(1);
  end;
  GetWebLanguage = lang;
  return;
end;
Related topics:
««