summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2010-02-11 20:17:46 -0700
committerSteve Dibb <beandog@gentoo.org>2010-02-11 20:17:46 -0700
commit32a7a5f8d8b36ae6acb6e566ff3d371b7a145c4b (patch)
treef9b8efa8def14998bc8f7a4fed123cc34c98f8db /linguas.php
parentZero (diff)
downloadznurt-org-frontend-32a7a5f8d8b36ae6acb6e566ff3d371b7a145c4b.tar.gz
znurt-org-frontend-32a7a5f8d8b36ae6acb6e566ff3d371b7a145c4b.tar.bz2
znurt-org-frontend-32a7a5f8d8b36ae6acb6e566ff3d371b7a145c4b.zip
initial commit
Diffstat (limited to 'linguas.php')
-rw-r--r--linguas.php39
1 files changed, 39 insertions, 0 deletions
diff --git a/linguas.php b/linguas.php
new file mode 100644
index 0000000..03eeb8e
--- /dev/null
+++ b/linguas.php
@@ -0,0 +1,39 @@
+<?
+ require_once 'inc.header1.php';
+ require_once 'inc.header2.php';
+ require_once 'inc.header3.php';
+ require_once 'inc.content1.php';
+
+ $str = gettext("LINGUAS");
+ echo "<h4>$str</h4>\n";
+
+ echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'/>\n";
+
+ echo "<div class='about'>\n";
+
+ echo "<p>Znurt is available to view in a few languages with localized links where available. Translations are provided by volunteers. We use <a href='http://www.gnu.org/software/gettext/gettext.html'>gettext</a> to translate the strings on the site from the original, and it works rather well.</p>\n";
+
+ echo "<p>If you're interested in creating a version of the site in your native tounge, translations are welcome, as long as you can maintain the file when there are updates needed. You can request a copy of the latest messages template by contacting beandog at gentoo.org.</p>\n";
+
+ $arr = array(
+ 'Czech' => array('http://cs.znurt.org/', 'cs'),
+ 'English' => array('http://en.znurt.org/', 'us'),
+ 'French' => array('http://fr.znurt.org/', 'fr'),
+ 'German' => array('http://de.znurt.org/', 'de'),
+ 'Italian' => array('http://it.znurt.org/', 'it'),
+ 'Spanish' => array('http://es.znurt.org/', 'es'),
+ 'Turkish' => array('http://tr.znurt.org/', 'tr',),
+ );
+
+ echo "<ul>\n";
+
+ foreach($arr as $lingua => $arr) {
+ echo "<li> <a href='".$arr[0]."'><img src='".$base_uri.'img/flags/'.$arr[1].".png'></a> &nbsp; <a href='".$arr[0]."'>$lingua</a></li>\n";
+ }
+
+ echo "</ul>\n";
+
+ echo "</div>\n";
+
+ require_once 'inc.content2.php';
+?> \ No newline at end of file