Seite 1 von 1

[Hilfe] SpellingCow Spell Check

Verfasst: 13.02.2005 06:17
von Lenox82
Wie bekomme ich den In deutsch????

Habe das alles nur in Englisch

Wer kann Helfen

Verfasst: 13.02.2005 08:31
von smart
Meinst Du den MOD als soches oder später die Rechtschreibprüfung?!? Letzteres sollte kein Problem sein, da der MOD doch auf Dein Word-Wörterbuch zugreift, wenn ich das richtig verstanden habe...

Verfasst: 13.02.2005 08:49
von smart
Habe noch einmal für Dich gesucht:
Für PHPBB Spell Checker gibts eine deutsche Anpassung:
http://www.phpbb.com/phpBB/viewtopic.ph ... 79#1129779
Eine Wörterliste gibts zwei Beiträge weiter drunter.

Im Vergleich zu "gar keiner Rechtschreibprüfung" ist der phpBB-Spellchecker laut Angaben in anderen Threads ganz passabel.

Verfasst: 13.02.2005 17:57
von Lenox82
Also wenn er auf mein Word zugreifen würde dann würde er es ja nicht in englisch haben oder???

Kann mir das einer erklären was die dort meinen ich kann nicht so gut englisch!!!

http://www.phpbb.com/phpBB/viewtopic.ph ... 79#1129779

Verfasst: 13.02.2005 18:38
von smart
Hi Folks,

fol all who are interested in an adaptation for german, here is a "spell_German.php".
Hey Leute,
für alle die, die interessiert an einer deutschen Versione sind, hier die Datei spell_German.php


Code:

Code: Alles auswählen

<?php
  // --------------------------------------------------------------------
  // phpSpell Language Template
  //
  // This is (c)Copyright 2002, 2003, Team phpSpell.
  // --------------------------------------------------------------------

  // --------------------------
  // Table Name
  // --------------------------
  $DB_TableName=$table_prefix."spelling_words";

  // Language Text
  $Language_Text = array('Suche nach %d Wörtern.    %d zu korrigierende Wörter gefunden.');
  $Language_Javascript = array('Bitte Warten','Keine Störungen gefunden...', /
                  'OK','Abbrechen','Rechtschreibprüfung abgeschlossen','Korrigieren', /
                  'Alle','Ignorieren','Hinzufügen','Vorschlagen', /
                  'Definition','Thesaurus','Ändern in:','Keine Vorschläge');

  // Prefix Database name for MSSQL tables
//  if ($dbms == "mssql") {
//    $DB_TableName = $dbname.".".$DB_TableName;
//  }

  // ---------------------------------------
  // PSPELL Support - Use German Dictionary
  // ---------------------------------------
  $Spell_Config["PSPELL_LANGUAGE"] = "de";
  // --------------------------------------------------------------------
  // Example translation table:
  //     $Translation_Table = array("À", "Æ", "Ç");
  //     $Replacement_Table = array("a", "an", "sth");
  //     $Language_Translation_Character_List = "ÀÆÇ";
  // --------------------------------------------------------------------
  // for every "À" it finds in a word it will replace it with a "a"
  // for every "Ç" it finds it will replace it with a "sth"
  // for every "Æ" it finds it will replace it with a "an"
  // --------------------------------------------------------------------
  // Put the character(s) to be translated into the Translation_Table
  // Put the replacement character(s) into the replacement table
  // --------------------------------------------------------------------
  // The replacement string should be equivelent to the ENGLISH PHONETIC
  // sound.  So if you were to take a word with "À" in it; how would you
  // phonetically spell the word in english.  If the "À" sounds like a "A"
  // in english then "A" would be the replacement character.
  // If it sounds like "th" then you would use "th" as the characters.
  // always replace Larger groups first.  (i.e. if "ññ" sounds differently
  // than "ñ" then in the translation table you would have the "ññ" listed
  // before the "ñ".  So that way when it would replaced the "ññ" before it
  // replaced it twice with "ñ".
  // --------------------------------------------------------------------
  // Any letters you do not translate will be IGNORED for
  // when it attempts to find spelling matches!!!
  // --------------------------------------------------------------------
  //$Translation_Table = array("Ä", "ä", "Ö", "ö", "Ü"," ü", "ß");
  //$Replacement_Table = array("Ae", "ae", "Öe", "ö", "Üe", "ü", "ss");
  $Translation_Table = array();
  $Replacement_Table = array();

  // --------------------------------------------------------------------
  // Put the list of valid characters in your language in this list
  // --------------------------------------------------------------------
  $Language_Character_List = "abcdefghijklmnopqrstuvwxyzäöüßÄÖÜ'";
  $Language_Common_Words = "der,die,das,ist,war,sein,sind,waren,bin,von,vom,und, /
       ein,eine,einer,innen,zu,zum,haben,hat,habe,hatten,er,sie,es,seiner, /
       seine,seines,ich,mein,mir,mich,wir,unser,unsere,euer,eures,ihnen,nicht,nein,für,du, /
       deins,ihrs,mit,auf,dieses,dies,jeses,tun,tat,getan,bei,beim,aber,leider,jedoch,von,als, /
       oder,wird,sagen,sagte,sage,würde,würdest,was,dort,hier,wenn,kann,wer,wessen,so,gehen, /
       geht,gegangen,mehr,anders,andere,eins,sehen,sah,gesehen,wissen,weiß,wußte";

  // --------------------------------------------------------------------
  // Translation function
  // --------------------------------------------------------------------
  function Translate_Word($Word) {
    return ($Word);
  }

  // --------------------------------------------------------------------
  // Phonetic work function
  // --------------------------------------------------------------------
  function Word_Sound_Function($Word) {
    return (metaphone($Word));
  }


  function Language_Decode(&$Data)
  {
    // MS Internet Explorer Hack -- IE sends utf8-unicode for upper (ascii 128+) characters
     if (strpos(@$_SERVER['HTTP_USER_AGENT'], 'MSIE') > 0 || strpos(@$_SERVER['ALL_HTTP'], 'MSIE') > 0) {
       if (function_exists('utf8_decode')) $Data = utf8_decode($Data);
     }
     return ($Data);
  }

  function Language_Encode(&$Data)
  {
    return ($Data);
  }

  function Language_Lower(&$Data)
  {
    return(strtolower($Data));
  }

  function Language_Upper(&$Data)
  {
    return(strtoupper($Data));
  }

?>
Put this file in your spelling directory.
Then add 'German' in "spell_config.php" to the supported languages:
Lege eine Datei mit diesem Inhalt im Ordner Rechtschreibung (spelling) an.
Dann füge "German" in der Datei "spell_config.php" in die Liste der unterstützten Sprachen hinzu.

Code:
$Spell_Config['Languages_Supported'] = array('English', 'Russian', 'German');
Hope, if forgot nothing.
In my forum ist work's fine. Very Happy

Greetings,
Maxxy
Ich hoffe, ich habe nichts vergessen.
In meinem Forum funktioniert es sehr gut. Bin sehr glücklich!

Viele Grüße,
Maxxy



Viele Grüße,
smart

Verfasst: 13.02.2005 18:47
von Lenox82
Den einzigen ordner den ich habe ist bei admin/mods Spellingcow

Und die einzige datei die ich habe im ROOT: spell-gw.php

also wie soll ich da vor gehen

Verfasst: 13.02.2005 22:55
von Lenox82
Wie muss ich da jetzt vor gehen???

Im EasyMod packet war er schon drin also habe ich den EMC installiert und den spellingCow installiert aber weder in der lang_english noch im lang_german ordner ist eine datei namens spelling oder so ähnlich drin!!!