I've found the problem of strings that I want to translate differently in different parts of the game, one example is the text "Leave" that appears many times.
So, to better use the already known translations function, I've changed the file translationwizard\known.php to show me also the tlschema of each row (and decide which translation to use, or even if I want to use none of them). The tlschema is shown right under the known text.
These are the modifies lines:
-line 120 from
$sql="Select ".db_prefix("untranslated").".intext, ".db_prefix("temp_translations").".language as t, ".db_prefix("untranslated").".language as u, ".db_prefix("temp_translations").".tid, ".db_prefix("temp_translations").".outtext,".db_prefix("temp_translations").".author,".db_prefix("untranslated").".namespace,".db_prefix("temp_translations").".version from ".db_prefix("temp_translations").",".db_prefix("untranslated")." where ".db_prefix("temp_translations").".intext=".db_prefix("untranslated").".intext AND ".db_prefix("temp_translations").".language=".db_prefix("untranslated").".language ORDER BY ".db_prefix("untranslated").".intext";
to
$sql="Select ".db_prefix("untranslated").".intext, ".db_prefix("temp_translations").".language as t, ".db_prefix("untranslated").".language as u, ".db_prefix("temp_translations").".tid, ".db_prefix("temp_translations").".uri, ".db_prefix("temp_translations").".outtext,".db_prefix("temp_translations").".author,".db_prefix("untranslated").".namespace,".db_prefix("temp_translations").".version from ".db_prefix("temp_translations").",".db_prefix("untranslated")." where ".db_prefix("temp_translations").".intext=".db_prefix("untranslated").".intext AND ".db_prefix("temp_translations").".language=".db_prefix("untranslated").".language ORDER BY ".db_prefix("untranslated").".intext";
-line 126 from
$sql="Select ".db_prefix("untranslated").".intext, ".db_prefix("translations").".language as t, ".db_prefix("untranslated").".language as u, ".db_prefix("translations").".tid,".db_prefix("translations").".outtext,".db_prefix("translations").".author,".db_prefix("untranslated").".namespace from ".db_prefix("translations").",".db_prefix("untranslated")." where ".db_prefix("translations").".intext=".db_prefix("untranslated").".intext AND ".db_prefix("translations").".language=".db_prefix("untranslated").".language ORDER BY ".db_prefix("untranslated").".intext";
to
$sql="Select ".db_prefix("untranslated").".intext, ".db_prefix("translations").".language as t, ".db_prefix("untranslated").".language as u, ".db_prefix("translations").".tid, ".db_prefix("translations").".uri, ".db_prefix("translations").".outtext,".db_prefix("translations").".author,".db_prefix("untranslated").".namespace from ".db_prefix("translations").",".db_prefix("untranslated")." where ".db_prefix("translations").".intext=".db_prefix("untranslated").".intext AND ".db_prefix("translations").".language=".db_prefix("untranslated").".language ORDER BY ".db_prefix("untranslated").".intext";
-insert after line 254:
rawoutput("<br><br>(".htmlentities($row['uri'].")",ENT_COMPAT,$coding))
The modification is already tested and working (I'm already using it in my local installation); if somebody is to release a new version of this module, please have a look at this.
