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

/*

Spanish Language File
Translated by: Alexander Garzon <info at venehosting dot com>

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 = "Trazando"; break;

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

     case "locate me" :
     $p = "localíceme"; break;

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

     case "You at" :
     $p = "Usted está en"; break;

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

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

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

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

     case "located in" :
     $p = "ubicado en"; break;

     case "cannot be located." :
     $p = "No pudo ser localizado"; break;

     case "cannot be resolved." :
     $p = "No pudo ser resuelto"; break;

     case "is a host in the private IP address range." :
     $p = "este es un servidor de IP privada"; break;

     case "does not resolve." :
     $p = "No fué resuelto"; break;

     case "is not a valid IP address." :
     $p = "No es una dirección IP válida"; break;

     case "Temporary lookup failure." :
     $p = "Falla temporal en la búsqueda."; break;

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

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

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

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

     case "Draw mode (defaults guessed for your browser):" :
     $p = "Modo de dibujo (por defecto para su navegador)"; break;

     // next two phrases are combined
     case "Your settings have been saved. You can now try" :
     $p = "Sus preferencias han sido guardadas. Intentarlo de nuevo ahora"; break;

     case "plotting something." :
     $p = "trazando."; break;

     case "Pointer Preferences (the dot that marks lat/lon):" :
     $p = "Preferencias del indicador (el punto donde marca lat/lon):"; break;

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

     case "Size:" :
     $p = "Tamaño:"; break;

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

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

     case "Other Preferences:" :
     $p = "Otras Preferencias:"; break;

     case "Earth Image:" :
     $p = "Imágen de la Tierra"; break;

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

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

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

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

     case "Diamond Outline" :
     $p = "Línea de Diamante"; break;

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

     case "Square Outline" :
     $p = "Línea del Cuadrado"; break;

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

# colors:

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

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

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

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

     case "cyan" :
     $p = "cyan"; break;

     case "green" :
     $p = "verde"; break;

     case "violet" :
     $p = "violeta"; 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