-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
24 lines (22 loc) · 849 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Localization using PHP gettext</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<header>
<p class="languages_bar"> </p>
<nav>
<p>Localization using PHP gettext</p>
</nav>
</header>
<section>
<h3><a href="example1.php">Example 1</a></h3>
<p>Localizing the entire user interface using PHP gettext and MO files, also controlling the embedded external stylesheet.</p>
<h3><a href="example2.php">Example 2</a></h3>
<p>Localizing the realtime application messages by creating a javascript file containing all the required strings from the MO file at application startup. This can be helpful in case of using ajax, form validations, or SPAs.</p>
</section>
</body>
</html>