Changeset 717
- Timestamp:
- Jun 30, 2015, 10:30:52 PM (9 years ago)
- Location:
- branches/PublicaMundi_David-devel/docs
- Files:
-
- 6 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/PublicaMundi_David-devel/docs/contribute/doc.rst
r696 r717 5 5 6 6 Contribute documentation 7 ================== 7 ======================== 8 8 9 9 ZOO Documentation is a collaborative process managed by the ZOO developers. Anybody is welcome to contribute to the ZOO-Project documentation. Please consider the following instructions before doing so. … … 11 11 General information 12 12 ------------------------ 13 14 Heading syntaxe 15 ............... 16 17 Tere are various title heading used in the documentation, when you 18 create a new document, you're invited to follow the following heading 19 underline syntaxe: 20 21 * for Heading 1, use ``=``, 22 * for Heading 2, use ``-``, 23 * for Heading 3, use ``.``, 24 * for Heading 4, use ``*``, 25 * for Heading 5, use ``#``. 26 13 27 14 28 For new comers … … 38 52 39 53 Installing and using Sphinx 40 ------------------------ 54 --------------------------- 41 55 42 56 On Linux -
branches/PublicaMundi_David-devel/docs/contribute/index.rst
r699 r717 2 2 3 3 Contributor Guide 4 ============= 4 ================= 5 5 6 This is the `ZOO-Project <http://zoo-project.org>`__ **Contributor Guide**. This document provides information and guidelines to anyone willing to contribute to the `ZOO-Project <http://zoo-project.org>`__ open source software project and help making it better. 6 This is the `ZOO-Project <http://zoo-project.org>`__ **Contributor 7 Guide**. This document provides information and guidelines to anyone 8 willing to contribute to the `ZOO-Project <http://zoo-project.org>`__ 9 open source software project and help making it better. 7 10 8 11 .. toctree:: … … 12 15 code 13 16 doc 14 translate15 17 dev 16 18 release -
branches/PublicaMundi_David-devel/docs/install/download.rst
r696 r717 7 7 8 8 .. warning:: 9 The ZOO-Project svn is the place where developement happens. Checking out svn is the best way to be always up to date. 9 The ZOO-Project svn is the place where developement 10 happens. Checking out svn is the best way to be always up-to-date. 11 12 13 ZOO-Project releases archives 14 ------------------------------- 15 16 Each new `ZOO-Project <http://zoo-project.org>`_ major release are 17 available on the project official website as .zip and .tar.bz2 18 archives. Head to the `Downloads 19 <http://zoo-project.org/site/Downloads>`_ section to get the latest or 20 older ZOO-Project releases. 21 22 .. warning:: 23 Don't use older versions of ZOO-Project if you want to use new 24 features and avoid older code issues. Prefer svn or github 25 instead. 26 10 27 11 28 … … 29 46 30 47 .. note:: 31 The ZOO-Project svn server listens on the 1046 (1024+22) portvb(instead of 22 by default), so please use a specific tunnel to access the svn server, as shown in the command above. 32 33 34 ZOO-Project releases archives 35 ------------------------------- 36 37 Each new `ZOO-Project <http://zoo-project.org>`_ major release is also made available on the project official website as .zip and .tar.bz2 archives. Head to the `Download <http://zoo-project.org/Code/Download>`_ section to get the latest or older ZOO-Project releases. 38 39 .. warning:: 40 Don't use older versions of ZOO-Project if you want to use new features and avoid older code issues. Prefer svn or github instead. 48 The ZOO-Project svn server listens on the 1046 (1024+22) port 49 (instead of 22 by default), so please use a specific tunnel to 50 access the svn server, as shown in the command above. 41 51 42 52 ZOO-Project Github -
branches/PublicaMundi_David-devel/docs/install/installation.rst
r714 r717 370 370 the ``--with-wx-config`` to specify its location. 371 371 372 Translation support (Optional) 373 ****************************** 374 375 The ZOO-Kernel is able to translate the messages it produce in different 376 natural languages. For this translation support to work, you have to 377 generate and install manually the quested files on your system, by 378 using the following command: 379 380 .. code:: 381 382 msgfmt zoo-project/zoo-kernel/locale/po/fr_FR.utf8.po -o /usr/share/locale/fr/LC_MESSAGES/zoo-kernel.mo 383 384 The ZOO-Kernel is also able to handle translation of 385 ZOO-Services. Please, refer to :ref:`this document 386 <service_translation>` for more details on the procedure to add new 387 ZOO-Service translation files. 388 389 .. warning:: 390 The location of the final ``.mo`` file may vary depending on your 391 system setup. 392 393 372 394 Install ZOO-Services 373 395 -------------------- -
branches/PublicaMundi_David-devel/docs/services/debug.rst
r716 r717 86 86 run "service=wps&version=1.0.0&request=execute&identifier=HelloPy&datainputs=a=your name&responsedocument=Result" 87 87 88 At this point you can ask help at the `ZOO mailing list <http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss>`_ 88 .. note:: 89 You can use the same parameter used before to simulate POST 90 requests when running from gdb. 91 92 If nothing helped, you can ask help at the `ZOO mailing list 93 <http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss>`_ 89 94 copying the result of the command. 90 95 -
branches/PublicaMundi_David-devel/docs/services/index.rst
r696 r717 16 16 process-profiles 17 17 howtos 18 translation 18 19 status 19 20 debug -
branches/PublicaMundi_David-devel/docs/services/translation.rst
r715 r717 1 .. _ contribute_trans:1 .. _service_translation: 2 2 3 Contribute translation 4 =============== 3 Translation Support 4 =================== 5 5 6 Anybody can take part to the `ZOO-Project <http://zoo-project.org>`__ translation and is welcome to: 6 ZOO-Kernel support translating internal messages it emits but it can 7 also translate both the metadata informations stored in the ZCFG file 8 and the messages emitted by the ZOO-Service itself. This document show 9 how to create the files required to handle such a translation process 10 for the ZOO-Services. 7 11 8 * Translate ZOO-Services configuration files9 10 * Translate documentation11 12 12 13 13 ZCFG translation 14 14 -------------------------- 15 15 16 First of all, use the following commands from your Services Provider directory in order to extract all the messages to translate from the ZCFG files : 16 First of all, use the following commands from your Services Provider 17 directory in order to extract all the messages to translate from the 18 ZCFG files : 17 19 18 20 :: 19 21 20 22 #!/bin/bash 23 mkdir -p locale/{po,.cache} 21 24 for j in cgi-env/*zcfg ; 22 25 do … … 28 31 29 32 30 Then generate the 'messages.po' file based on the Services Provider source code using the following command : 33 Then generate the 'messages.po' file based on the Services Provider 34 source code (located in ``service.c`` in this example) using the 35 following command: 31 36 32 37 :: … … 35 40 xgettext service.c locale/.cache/my_service_string_to_translate.c -o message.po -p locale/po/ -k_ss 36 41 37 Once '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 : 42 Once 'messages.po' is created, use the following command to create the 43 ``.po`` file for the targeted language to translate into. We will use the 44 French language here as an example: 38 45 39 46 :: … … 43 50 msginit -i messages.po -o zoo_fr_FR.po -l fr 44 51 45 Edit the zoo_fr_FR.po file with your favorite text editor or using one of the following tools : 52 Edit the ``zoo_fr_FR.po`` file with your favorite text editor or using 53 one of the following tools: 46 54 47 55 * `poedit <http://www.poedit.net/>`__ … … 49 57 * `transifex <https://www.transifex.net/>`__ 50 58 51 Once the zoo_fr_FR.po file is completed, you can generate and install the corresponding *mo* file using the following command : 59 Once the ``zoo_fr_FR.po`` file is completed, you can generate and 60 install the corresponding ``.mo`` file using the following command: 52 61 53 62 :: … … 74 83 msgcat -o compilation.po $(find ../../ -name fr_FR.utf8.po) 75 84 msgfmt compilation.po -o /usr/share/locale/fr/LC_MESSAGES/zoo-services.mo 76 77 78 Documentation translation79 --------------------------80 81 Translate the `ZOO-Project <http://zoo-project.org>`__ documentation in your language !82 83 Please refer to the :ref:`<contribute_doc>` section to learn more.
Note: See TracChangeset
for help on using the changeset viewer.