<html xmlns="http://www.w3.org/1999/xhtml" lang="es-ES" dir="ltr">
What PHP code can I use to modify this?
I would like to change lang="es-ES" ???
I have a custom page so I wanna alter this
lang="es-ES" from the page PHP code?
this attribute comes from the language selected on your site.
//this goes in the page constuct section
//or you can use the full bol name in your call below
$this->langservice = BOL_LanguageService::getInstance();
//this will get you the current language id number
$sitelangid = (int) OW::getSession()->get(BOL_LanguageService::LANG_ID_VAR_NAME);
//this will convert the lang id number to the language alpha name
$sitelang = $this->langservice->findById( $sitelangid );
hope that helps