How to set
lang="en" attributes for a sharepoint page?
I have a sharepoint page
AboutUs.aspx. It contains only some text.
I have hosted the site on my server and when I tried to check the "Web Accessibility" using achecker.ca, it is showing the known problems as 1 -
Document has invalid language code
Repair: Add a valid 2 letter or 3 letter language code as defined in the ISO 639 specification to the HTML 'lang' attribute. For XHTML, both 'lang' and 'xml:lang' must be set.
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" __expr-val-dir="ltr" dir="ltr">
I found similar problems for all other pages too. When I downloaded the page, I could find only
<%@ Page Inherits="Microsoft.SharePoint.Publishing.TemplateRedirectionPage,Microsoft.SharePoint.Publishing,Version=188.8.131.52,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %>
on the particular page.
How can I resolve the problem by inserting the language code in the master page or any other page.
Any help is appreciated.