Changeset 34 for trunk/zoo-services/ogr


Ignore:
Timestamp:
Oct 1, 2010, 1:41:53 AM (14 years ago)
Author:
djay
Message:

Make ZOO Kernel able to speak the natural language you teach him by using gettext tools for creating translation files. Add basic french translation .po files as current messages.po. Gettext Domains used are zoo-kernel and zoo-services.

Location:
trunk/zoo-services/ogr/base-vect-ops
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-services/ogr/base-vect-ops/service.c

    r32 r34  
    2323 */
    2424
     25#include <libintl.h>
     26#include <locale.h>
     27#define _(String) dgettext ("zoo-services",String)
     28
    2529#include "cpl_conv.h"
    2630#include "ogr_api.h"
     
    2832#include "geos_c.h"
    2933#include "service.h"
     34
    3035
    3136extern "C" {
     
    479484    }
    480485    if(geometry2==NULL){
    481       setMapInMaps(conf,"lenv","message","Unable to parse input geometry for InputEntity2.");
     486      setMapInMaps(conf,"lenv","message",_("Unable to parse input geometry for InputEntity2."));
    482487      fprintf(stderr,"SERVICE FAILED !\n");
    483488      return SERVICE_FAILED;
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png