1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00
Files
archived-web-php/manual/help-translate.php
Jordi Kroon 5f7c6aaf10 fix: update docs.php.net URLs to https://www.php.net
Replace outdated docs.php.net domain references with the current
https://www.php.net domain across archive pages and documentation links.
Also remove legacy inactive language filtering logic from download-docs.php
that was specific to the old docs domain.
2026-01-13 13:44:52 +01:00

44 lines
1.6 KiB
PHP

<?php
use phpweb\I18n\Languages;
$_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="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.
</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 = ['da', 'kr', 'pl', 'tw'];
foreach (Languages::INACTIVE_ONLINE_LANGUAGES as $cc => $lang) {
$link = 'no archive';
if (in_array($cc, $archived, true)) {
$link = '<a href="https://www.php.net/manual/' . $cc . '">archive</a>';
}
echo '<li>', $lang, ': (', $link, ')</li>';
}
?>
</ul>
<?php
site_footer();