1<?php 2 3use phpweb\I18n\Languages; 4 5$_SERVER['BASE_PAGE'] = 'manual/help-translate.php'; 6include_once __DIR__ . '/../include/prepend.inc'; 7include_once __DIR__ . '/../include/shared-manual.inc'; 8site_header("Help translate the PHP Manual"); 9?> 10 11<h3>Looking for a translation?</h3> 12<p> 13The 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. 14</p> 15 16<h3>How to help translate the PHP Manual</h3> 17<p> 18If you're interested in helping translate a specific language, then please read the translation section of the <a href="https://doc.php.net/guide/">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. 19</p> 20 21<h3>Using outdated translations</h3> 22<p> 23The 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! 24</p> 25 26<h3>Inactive languages already in SVN</h3> 27<ul> 28<?php 29// $archived are manuals we have old versions of 30$archived = ['da', 'kr', 'pl', 'tw']; 31 32foreach (Languages::INACTIVE_ONLINE_LANGUAGES as $cc => $lang) { 33 $link = 'no archive'; 34 if (in_array($cc, $archived, true)) { 35 $link = '<a href="http://docs.php.net/manual/' . $cc . '">archive</a>'; 36 } 37 echo '<li>', $lang, ': (', $link, ')</li>'; 38} 39?> 40</ul> 41 42<?php 43site_footer(); 44