Fork me on GitHub

function.lang.php  Bottom

  • I've been doing some read up on the lang= issue in the head-section.

    The function returns the value set in the settings for the language of the backend, and since the backend isn't multilingual, it's wrong.

    The function should return _LOCALE, since this is set in the language files used, it gives the correct value for multilingual sites.

    References:
    http://www.w3.org/TR/html4/struct/dirlang.html
    http://www.w3.org/TR/xml/#sec-lang-tag

    This function is made in 2004, so it's basicly not a MS2 issue only. Since .7.6.3 is on its way aswell, it might be something to change befor it's released?
  • Please submit a suitable bug report to the bug tracker - with patched file(s) if you have them.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Done, but my skillz on PHP and the API is 0,0. Might need some checks, the file attached was a plain simple edit icon_razz
  • 0 users

This list is based on users active over the last 60 minutes.