Ignore:
Timestamp:
Jun 30, 2015, 10:35:39 AM (9 years ago)
Author:
djay
Message:

Small fixes in the main documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PublicaMundi_David-devel/docs/contribute/translate.rst

    • Property svn:keywords set to Date Author
    r679 r696  
    2323          for i in Title Abstract;
    2424           do
    25             grep $i $j | sed "s:$i = :_(\":g;s:$:\"):g" ;
     25            grep $i $j | sed "s:$i = :_ss(\":g;s:$:\"):g" ;
    2626           done;
    2727       done > locale/.cache/my_service_string_to_translate.c
     
    3333 
    3434      #!/bin/bash
    35       xgettext service.c locale/.cache/my_service_string_to_translate.c -o message.po -p locale/po/ -k_
     35      xgettext service.c locale/.cache/my_service_string_to_translate.c -o message.po -p locale/po/ -k_ss
    3636
    3737Once 'messages.po' is created, use the following command to create the po file for the targeted language for translation. We will use the French language here as an example :
     
    4545Edit the zoo_fr_FR.po file with your favorite text editor or using one of the following tools :
    4646
    47  * [http://www.poedit.net/ poedit]
    48  * [http://translate.sourceforge.net/wiki/virtaal/index virtaal]
    49  * [https://www.transifex.net/projects/p/grass6/c/grass64/ transifex]
     47 * `poedit <http://www.poedit.net/>`__
     48 * `virtaal <http://translate.sourceforge.net/wiki/virtaal/index>`__
     49 * `transifex <https://www.transifex.net/>`__
    5050 
    5151Once the zoo_fr_FR.po file is completed, you can generate and install the corresponding *mo* file using the following command :
     
    6161example, such a request:
    6262
    63 [http://youserver/cgi-bin/zoo_loader.cgi?request=GetCapabilities&service=WPS]
     63http://youserver/cgi-bin/zoo_loader.cgi?request=GetCapabilities&service=WPS
    6464
    6565would become the following:
    6666
    67 [http://youserver/cgi-bin/zoo_loader.cgi?request=GetCapabilities&service=WPS&language=fr-FR]
     67http://youserver/cgi-bin/zoo_loader.cgi?request=GetCapabilities&service=WPS&language=fr-FR
    6868
    6969The following command may also be useful in order to pull all the translations already available for a specific language.
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