forked from i18next/i18next-webtranslate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (42 loc) · 1.21 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>i18next - webtranslate</title>
<!-- Application root. -->
<base href="/">
<!-- Application styles. -->
<link rel="stylesheet" href="assets/css/index.css">
</head>
<body>
<div class="header">
<div class="header-inner"></div>
</div>
<div class="main">
<div class="main-inner"></div>
</div>
<div class="footer">
<div class="footer-inner"></div>
</div>
<!-- Application source. -->
<script data-main="app/config" src="assets/js/libs/require.js"></script>
<script>
i18nextWT_onready = function(wt) {
wt.config(
{
languages: ['en', 'de-CH', 'fr', 'it', 'dev'],
namespaces: ['ns.app', 'ns.common', 'ns.layout', 'ns.msg', 'ns.special'],
resGetPath: "locales/resources.json?lng=__lng__&ns=__ns__",
resChangePath: 'locales/change/__lng__/__ns__',
resRemovePath: 'locales/remove/__lng__/__ns__',
fallbackLng: "dev",
dynamicLoad: true
}
)
wt.start();
};
</script>
</body>
</html>