Beginnings of multilanguage support

This commit is contained in:
L. Bradley LaBoon 2016-01-27 14:52:09 -05:00
parent 4b4d2b2744
commit 8b3b93bc57
3 changed files with 14 additions and 1 deletions

View File

@ -63,6 +63,9 @@ body
img
{ border: 0 }
:lang(de),:lang(es),:lang(jp)
{ display: none; }
#left-content
{
float: left;

View File

@ -9,11 +9,17 @@
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="index.css" />
<script type="text/javascript" src="js/navbar.js"></script>
<script type="text/javascript" src="js/intl.js"></script>
</head>
<body>
<div id="wrapper">
<!--#include virtual="include/header.html"-->
<h1 id="page-title">Home</h1>
<h1 id="page-title">
<span lang="en">Home</span>
<span lang="es">Página principal</span>
<span lang="de">Startseite</span>
<span lang="jp">ホームページ</span>
</h1>
<div id="content">
<div id="left-content">
<div class="segment">

4
js/intl.js Normal file
View File

@ -0,0 +1,4 @@
(function()
{
// Internationalization stuff
})();