Location: PHPKode > projects > Map-IP Free Geo Location Software > map-ip-free-geo-location-software/languages/messages.de.inc
<?

/*

German Language File
Jens A. Tkotz <jens at f2h9 dot de>

copy a language file to messages.<cc>.inc and \
edit what $p is on encountering an english phrase.

please notice the punctuation and capitilization.

change the $language variable in plotconf.inc after
creating a language file.

*/

function lookup($phrase) {
  switch($phrase) {

    # start translating the $p here

     case "Plotting" :
     $p = "Zeichne"; break;

     case "preferences" :
     $p = "Voreinstellungen"; break;

     case "locate me" :
     $p = "Lokalisiere mich"; break;

     case "IP/Hostname:" :
     $p = ""; break;

     case "You at" :
     $p = "Ihre IP"; break;

     case "Submit" :
     $p = "Sende"; break;

     case "main" :
     $p = "Hauptseite"; break;

# Used in context "(host) is located in"
     case "is" :
     $p = " "; break;

# Used in context "You at (host) are located in"
     case "are" :
     $p = " "; break;

     case "located in" :
     $p = "befindet sich in"; break;

     case "cannot be located." :
     $p = "wird nicht gefunden."; break;

     case "cannot be resolved." :
     $p = "kann nicht aufgel&ouml;st werden"; break;

     case "is a host in the private IP address range." :
     $p = "ist ein Host im privaten Adressbereich."; break;

     case "does not resolve." :
     $p = "wird nicht aufgel&ouml;st"; break;

     case "is not a valid IP address." :
     $p = "ist keine g&uuml;tige IP Adresse."; break;

     case "Temporary lookup failure." :
     $p = "Tempor&auml;rer Fehler."; break;

     case "IP-Atlas Preferences" :
     $p = "IP-Atlas Voreinstellungen"; break;

# make the 'p' lowercase if possible in your language

     case "IP-Atlas preferences" :
     $p = "IP-Atlas Voreinstellungen"; break;

     case "(cookie based)" :
     $p = "(cookie basiert)"; break;

     case "Draw mode (defaults guessed for your browser):" :
     $p = "Zeichenmodes (Vorgabe)"; break;

     // next two phrases are combined
     case "Your settings have been saved. You can now try" :
     $p = "Ihre Einstellungen wurden gespeichert. Sie k&ouml;nnen "; break;

     case "plotting something." :
     $p = "nun IP's anzeigen lassen."; break;

     case "Pointer Preferences (the dot that marks lat/lon):" :
     $p = "Zeiger Einstellungen (Der Punkt der H&ouml;hen und Breitengrad anzeigt) :"; break;

     case "Shape:" :
     $p = "Form:"; break;

     case "Size:" :
     $p = "Gr&ouml;sse:"; break;

     case "Color:" :
     $p = "Farbe:"; break;

     case "Pointer:" :
     $p = "Zeiger:"; break;

     case "Other Preferences:" :
     $p = "Sonstige Einstellungen"; break;

     case "Earth Image:" :
     $p = "Weltkarte:"; break;

     case "Color" :
     $p = "Farbe"; break;

     case "Grayscale" :
     $p = "Graustufen"; break;

     case "Save" :
     $p = "Speichern"; break;

# shape names:
     case "Diamond" :
     $p = "Diamant"; break;

     case "Diamond Outline" :
     $p = "Diamant Umriss"; break;

     case "Square" :
     $p = "Quadrat"; break;

     case "Square Outline" :
     $p = "Quadrat Umriss"; break;

     case "Cross" :
     $p = "Kreuz"; break;

# colors:

     case "red" :
     $p = "rot"; break;

     case "white" :
     $p = "weiss"; break;

     case "yellow" :
     $p = "gelb"; break;

     case "magenta" :
     $p = "rosa"; break;

     case "cyan" :
     $p = "t&uuml;kis"; break;

     case "green" :
     $p = "gru&uuml;"; break;

     case "violet" :
     $p = "lila"; break;

     # stop here

     // return in english if the phrase couldn't be found
     default:
     $p = $phrase; break;


  }

  // return english if match was blank
  if($p == "") { $p = $phrase; }

  return $p;

}

?>
Return current item: Map-IP Free Geo Location Software