forked from php/web-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelp-translate.php
40 lines (34 loc) · 1.6 KB
/
help-translate.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
$_SERVER['BASE_PAGE'] = 'manual/help-translate.php';
include_once __DIR__ . '/../include/prepend.inc';
include_once __DIR__ . '/../include/shared-manual.inc';
site_header("Help translate the PHP Manual");
?>
<h3>Looking for a translation?</h3>
<p>
The PHP Manual has over 30 translations already setup, but due to inactivity many have been taken offline. The odds are high that your language has already started a translation, but for various reasons it's no longer being updated or shown at php.net.
</p>
<h3>How to help translate the PHP Manual</h3>
<p>
If you're interested in helping translate a specific language, then please read the translation section of the <a href="http://doc.php.net/tutorial/">Guide for Manual Contributors</a> and contact the appropriate mailing list. Whether or not your language is shown below, you are very welcome to help translate the PHP Manual from English to another language.
</p>
<h3>Using outdated translations</h3>
<p>
The following list of languages already contain SVN modules, and will show up on the documentation development server. Warning: These translations are considered outdated, so content within each may be completely wrong or insecure!
</p>
<h3>Inactive languages already in SVN</h3>
<ul>
<?php
// $archived are manuals we have old versions of
$archived = array('da', 'kr', 'pl', 'tw');
foreach ($INACTIVE_ONLINE_LANGUAGES as $cc => $lang) {
$link = 'no archive';
if (in_array($cc, $archived)) {
$link = '<a href="http://docs.php.net/manual/'. $cc .'">archive</a>';
}
echo '<li>', $lang, ': (', $link, ')</li>';
}
?>
</ul>
<?php
site_footer();