Changes between Version 3 and Version 4 of OSGeoLive_Translation_Process


Ignore:
Timestamp:
20 Dec 2017, 13:58:12 (6 years ago)
Author:
bakaniko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OSGeoLive_Translation_Process

    v3 v4  
    6565## Build the doc
    6666make doc
    67 cd ..</pre>
     67cd ..}}}
    6868
    6969== Downloading translation ==
     
    7575{{{
    7676tx pull -l fr -r osgeolive.quickstart--ideditor_quickstart
    77 </pre>
     77}}}
    7878
    7979* Download the latest translated <code>*.po</code> files of your language based on translation percentage.
     
    8181{{{
    8282tx pull -l fr --minimum-perc=100
    83 </pre>
     83}}}
    8484
    8585
     
    8888{{{
    8989tx pull --help
    90 </pre>
     90}}}
    9191
    9292=== Checking the download ===
     
    9494{{{
    9595git status
    96 </pre>
     96}}}
    9797
    9898A possible output:
     
    102102Viewing your language html will help to put strings in context and/or check the translation.
    103103
    104 {{{tools/transifex/create_translations.sh fr</pre>
     104{{{tools/transifex/create_translations.sh fr}}}
    105105The French documentation would be in
    106106
    107 {{{build/doc/html/fr/doc/index.html</pre>
     107{{{build/doc/html/fr/doc/index.html}}}
    108108
    109109== Transifex files that are not accepting translations. ==
     
    128128
    129129{{{en:  :ref:`sample`
    130 ja:  :ref:`サンプル`    &lt;--- wrong</pre>
     130ja:  :ref:`サンプル`    &lt;--- wrong}}}
    131131== Use a &quot;suggestion&quot; ==
    132132
     
    135135{{{en:              :ref:`pgr_astar&lt;pgr_astar&gt;` - Shortest Path A*
    136136Use suggestion:   pgr_astar - A*アルゴリズムを用いた最短経路探索
    137 Modify to:       :ref:`pgr_astar&lt;pgr_astar&gt;` - A*アルゴリズムを用いた最短経路探索</pre>
     137Modify to:       :ref:`pgr_astar&lt;pgr_astar&gt;` - A*アルゴリズムを用いた最短経路探索}}}
    138138== Use &quot;copy button&quot; ==
    139139
     
    141141
    142142{{{en:  :ref:`sample`
    143 ja:  :ref:`sample`</pre>
     143ja:  :ref:`sample`}}}
    144144== Type a translation ==
    145145
     
    163163
    164164{{{tools/transifex/download_translation.sh ja pgrouting.doc--src--changelog--index
    165 tools/transifex/create_translations.sh ja</pre>
     165tools/transifex/create_translations.sh ja}}}
    166166Navigate to the the translated file, for this example it would be
    167167
    168 {{{build/doc/html/ja/doc/src/changelog/index.html</pre>
     168{{{build/doc/html/ja/doc/src/changelog/index.html}}}
    169169Notice the relation between names:
    170170
    171171{{{Transifex name:              pgrouting.doc--src--changelog--index
    172 Html Generated File: build/doc/html/ja/doc/src/changelog/index.html</pre>
     172Html Generated File: build/doc/html/ja/doc/src/changelog/index.html}}}
    173173And visualy compare the &quot;looks&quot; with the [English version] (http://docs.pgrouting.org/2.0/en/doc/index.html)
    174174
     
    182182
    183183{{{html:    上記クエリは サンプルデータ のネットワークを使用しています。   &lt;-- sample data is translated
    184 or:      上記クエリは Sample Data のネットワークを使用しています。   &lt;--- sample data needs translation</pre>
     184or:      上記クエリは Sample Data のネットワークを使用しています。   &lt;--- sample data needs translation}}}
    185185If you can navigate the links, you are ok
    186186
     
    252252{{{en:      The queries use the :ref:`sampledata` network.
    253253ja:      上記クエリは :ref:`sampledata` のネットワークを使用しています。 
    254 html:    上記クエリは Sample Data のネットワークを使用しています。</pre>
     254html:    上記クエリは Sample Data のネットワークを使用しています。}}}
    255255Thats and indication that the referenced page for Sample Data, isn't fully translated. If you can click on the link and navigate you are ok.
    256256
     
    261261{{{en:      The queries use the :ref:`sampledata` network.
    262262ja:      The queries use the :ref:`sampledata` network.
    263 html:    The queries use the サンプルデータ  network.</pre>
     263html:    The queries use the サンプルデータ  network.}}}
    264264Maybe you navigated into an untranslated page that has a reference to a translated page.
    265265
     
    271271{{{en:      The queries use the :ref:`sampledata` network.
    272272ja:      上記クエリは: ref:'sampledata'のネットワークを使用しています。   
    273 html:    上記クエリは: ref:'sampledata'のネットワークを使用しています。</pre>
     273html:    上記クエリは: ref:'sampledata'のネットワークを使用しています。}}}
    274274The link's generated by the button need to be corrected, I suggest to copy the link together with its sorrounding spaces from the English version:
    275275
     
    278278ja:      上記クエリは :ref:`sampledata` のネットワークを使用しています。   
    279279html:    上記クエリは サンプルデータ のネットワークを使用しています。
    280   or:    上記クエリは Sample Data のネットワークを使用しています。</pre>
     280  or:    上記クエリは Sample Data のネットワークを使用しています。}}}
    281281
    282282== WARNING: Inline literal start-string without end-string. ==
     
    289289``int4``型の始点ノードのID         &lt;--- this will generate the error
    290290``int4 `` 型の始点ノードのID       &lt;--- this will also generate the error (a space is after the 4)
    291 ``int4`` 型の始点ノードのID        &lt;--- a space is (before as a new line and) after the inline literal</pre>
     291``int4`` 型の始点ノードのID        &lt;--- a space is (before as a new line and) after the inline literal}}}
    292292= Tools for the Reviewer =
    293293
     
    306306To download all language translations:
    307307
    308 {{{tools/transifex/download_translation.sh</pre>
     308{{{tools/transifex/download_translation.sh}}}
    309309To download all the translations of a particular language:
    310310
    311 {{{tools/transifex/download_translation.sh [es|ja|fr|de]</pre>
     311{{{tools/transifex/download_translation.sh [es|ja|fr|de]}}}
    312312To download the translation of a specific file you need to state the language also
    313313
    314 {{{tools/transifex/download_translation.sh [es|ja|fr|de] [pgrouting.&lt;filename&gt;]</pre>
     314{{{tools/transifex/download_translation.sh [es|ja|fr|de] [pgrouting.&lt;filename&gt;]}}}
    315315
    316316== tools/transifex/create_translations.sh ==
     
    325325To create the documentation of all the languages
    326326
    327 {{{tools/transifex/create_translations.sh</pre>
     327{{{tools/transifex/create_translations.sh}}}
    328328To create the documentation of a particular language:
    329329
    330 {{{tools/transifex/create_translations.sh [es|ja|fr|de]</pre>
     330{{{tools/transifex/create_translations.sh [es|ja|fr|de]}}}
    331331The main index.html of the documentation will be located at:
    332332
    333 {{{build/doc/html/[es|ja|fr|de]/doc/index.html</pre>
     333{{{build/doc/html/[es|ja|fr|de]/doc/index.html}}}
    334334
    335335= Main wiki page =