cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Dakin <rossda...@gmail.com>
Subject CloudStack UI - Language
Date Fri, 04 May 2012 22:50:22 GMT
Hi all,

Any thoughts on the following patch? It would help enable DIY client-side
localization:


--- index.jsp-bak 2012-04-30 01:04:21.313707754 +0000
+++ index.jsp 2012-05-04 22:46:24.353707760 +0000
@@ -8,9 +8,11 @@

 <!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="${cookie.lang.value}" xml:lang="${cookie.lang.value}">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <meta http-equiv="Content-Language" content="${cookie.lang.value}" />
     <title>CloudStack</title>
     <link type="text/css" rel="stylesheet" href="lib/reset.css"/>
     <link type="text/css" rel="stylesheet" href="css/cloudstack3.css" />


Forgive me if this is not the proper channel for proposing such changes.

Cheers,
Ross

--
Ross Dakin
rossdakin@gmail.com
(858) 699-2190

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message