openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From orc...@apache.org
Subject svn commit: r1655219 - /openoffice/ooo-site/trunk/content/xx/java/index.html
Date Wed, 28 Jan 2015 04:41:04 GMT
Author: orcmid
Date: Wed Jan 28 04:41:04 2015
New Revision: 1655219

URL: http://svn.apache.org/r1655219
Log:
Demonstrate setting of language type for the Content-Language HTTP header and in the <html>
tag.

Modified:
    openoffice/ooo-site/trunk/content/xx/java/index.html

Modified: openoffice/ooo-site/trunk/content/xx/java/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/xx/java/index.html?rev=1655219&r1=1655218&r2=1655219&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/xx/java/index.html (original)
+++ openoffice/ooo-site/trunk/content/xx/java/index.html Wed Jan 28 04:41:04 2015
@@ -1,7 +1,16 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" />
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"/>
+    <!-- L10N: set lang for the default language to be understood for the
+         document.  Recommended for HTML5
+         -->
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <meta http-equiv="Content-Language" content="en-US" />
+    <!-- L10N: set language for the default here also.  This will produce the
+         corresponding HTTP Header.  Only use one content language type,
+         for the specific deprecated case tolerated for HTML5.  This specifies
+         the language for the audience of the document.
+         -->
   <title>Information about Java &amp; Apache OpenOffice, OpenOffice.org</title>
   <style type="text/css">
   /* <![CDATA[ */



Mime
View raw message