<div>Hello,</div><div><br></div>It took me some hours to figure out why the document supported_data.rst of working_with_vector could not be translated to Dutch.<div>I found out that if a rst document has an rst footnote [#]_, the document can not be translated using a .po file at all.</div>
<div>It was necessary to change the supported_data.rst source file in the git branch "manual_en_v1.8".</div><div><br></div><div>Before merging this change and run the script pre_translate.sh make sure you have returned your supported_data.po file first so it is merged properly without losing your translations.</div>
<div><br></div><div>I also found in the same document that the use inline literal blocks give problems, in the log of the post_translate.sh you see something like:</div><div>Documents/QGIS-Documentation/source/docs/user_manual/working_with_vector/supported_data.rst:2: WARNING: Literal block expected; none found.</div>
<div><br></div><div>in rst this literal block was defined as follows</div><div><br></div><div>a literal block:</div><div>::</div><div> hello</div><div><br></div><div>gettext transforms this to following text to translate:</div>
<div>a literal block: ::</div><div><br></div><div>adding a space between text and rst-statement :: announcing a literal block solved this issue..</div><div><br></div><div>a literal block:</div><div><br></div><div>::</div>
<div> hello</div><div><br></div><div>the text "a literal block" can now be translated..</div><div><br></div><div>Maybe we should search all other rst documents with inline literal block statements and footnotes and change the documents so they can be translated!</div>
<div><br></div><div>[#] a foot note that makes translation of rst document not possible</div>