GeoDB::Modify::Translate.3pm

Langue: en

Version: 2008-11-19 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

Sommaire

NAME

Translate - Translate caches from one language to anthoer

DESCRIPTION

START HELP

By far, this is one of the most powerful modification plugins. It uses online services (like Google) to translate cache fields from one language to another. As an example, here are some of my caches:

   > geoqo -s cache:owner_name==Yamar&&waypoint:ident=GCJ -l
   num GCID     Name
   1   GCJYPW   Hoppin' mad about Davis
   2   GCJGRQ   Beneficial cache
   3   GCJKMD   Historical water tower
   4   GCJ7KT   Got Coffee?
   5   GCJ66H   Gone Fishin' (Yamar's unusual #4)
   6   GCJ491   O where art thou (Yamar's unusual #2)
   7   GCJ5DV   Inverted Cache (Yamar's unusual #3)
 
 

And here is what they look like when translated from English to Spanish:

   > geoqo -s cache:owner_name==Yamar&&waypoint:ident=GCJ -l -m translate:source=English,destination=Spanish
 num GCID     Name
   1   GCJYPW   Hoppin' enojado sobre Davis
   2   GCJGRQ   Escondrijo beneficioso
   3   GCJKMD   Torre historica del agua
   4   GCJ7KT   Cafe Conseguido?
   5   GCJ66H   Fishin ido ' (4) inusual de Yamar #
   6   GCJ491   O donde mil del arte (2) inusual de Yamar #
   7   GCJ5DV   Escondrijo invertido (3) inusual de Yamar #
 
 

Valid languages to pick from:

   English
   Spanish
   French
   German
   Italian
   Korean
   Japanese
   Portuguese
 
 

Requirements

1) you must be connected to the net

2) you must have the WWW::Babelfish perl module installed.

END HELP

Options

source=LANGUAGE
destination=LANGUAGE
Sets the FROM and TO languages.
service=SERVICE
There are multiple services to pick from that can perform translation:
   Babelfish   (the default)
   Google
   Yahoo
 
 
fields=FIELD1/FIELD2
A / separated list of fields to translate. This defaults to just the urlname field, which is what is shown in the -l or -d list output.

END HELP