Removing extra strings from your lng file can help speed up your board. This can help you do that, by telling you exactly what is not being used.
Please do not use this if you don't know what you are doing.
Note that this is not under the GPL, despite being distributed as source code. Do not redistrbiute.
<?php// Extraneous language file checker, version 1.0.// Copyright 2003 by [Unknown]. All rights reserved. Do not redistribute without permission.$cwd = dirname(__FILE__);// Change this to the language file you want to test.$language_file = $cwd . '/english.lng';define('YaBBSE', 1);require ($language_file);$sd = dir($cwd . '/Sources');while ($entry = $sd->read()){ if (is_file($cwd . '/Sources/' . $entry) && $entry != 'index.php' && $entry != 'gpl.txt') $file_list[] = $cwd . '/Sources/' . $entry;}$sd->close();$file_list[] = $cwd . '/SSI.php';$file_list[] = $cwd . '/help.php';$file_list[] = $cwd . '/Printpage.php';$file_list[] = $cwd . '/Reminder.php';foreach ($file_list as $file){ $full = implode('', file($file)); preg_match_all('/\$txt\[(?:\')?([^\]]+?)(?:\')?\]/i', $full, $matches); foreach ($matches[1] as $text) if (isset($txt[$text])) unset ($txt[$text]);}foreach ($txt as $key => $text) $txt[$key] = htmlspecialchars($text);ksort($txt);echo '<pre>';print_r($txt);echo '</pre>';?>
-[Unknown]