Difference between revisions of "Documentation translation"

From Inkscape Wiki
Jump to navigation Jump to search
(→‎Tutorial Translation: Point to the po files.)
(Remove contents of outdated page. Up-to-date instructions are available in the repository.)
(36 intermediate revisions by 9 users not shown)
Line 1: Line 1:
Go Back to the main [http://wiki.inkscape.org/wiki/index.php/Translation_information Translation information] page.
Go back to the main [[Translation information]] page.

== Tutorial Translation ==
See [https://gitlab.com/inkscape/inkscape-docs/documentation the README file in the Inkscape documentation repository on Gitlab]

Inkscape's tutorial sources are in Docbook XML format, with illustrations in SVG.
[[Category: Translation]]
The ''translations'' of the tutorials however are in the well-know PO format. If you want to help, download them here:
* Each tutorial is in its own subdirectory. You need the <code><LANG>.po</code> file, for example <code>basic/fr.po</code>. Please coordinate with the previous translator listed in that file!
* If there is no PO file for your language yet, check if there is a file like <code><tutorial>-*.<LANG>.xml</code>. In that case, ask [[User:Colin Marquardt|cmarqu]] to have it converted to PO format for you.
* If there is none of these files, get the <code><tutorial>.pot</code> file, rename it to <code><LANG>.po</code> and start translating.
Once you are satisfied with what you have done, submit it to the SourceForge patch tracker.
= Keyboard and mouse translation =
= User Manual =
* See also [[Embedded Help]]
* First download the user manual xml document from [http://svn.sourceforge.net/viewcvs.cgi/inkscape/user_manual/trunk/xml/ SVN]
* edit the trunk/xml/inkscapeUTF.xml file. All languages are inside.
* Just read the file, choose the language reference you want to use (en, fr...) and translate by duplicating the node and changing lang attribute to yours.
* when finishing editing, if necessary edit the Makefile and add your language to the Makefile. In every case test your file with some tools (xmllint...) or just type again "make your_language" : syntax errors will be displayed : please correct them.
* submit your work as a patch in the patch tracker and warn Cédric Gemy (cedric at le-radar.com) by email.
= Man pages =
* first download inkscape.pod from [http://svn.sourceforge.net/viewcvs.cgi/inkscape/inkscape/trunk/inkscape.pod?view=log SVN]
* rename it to inkscape.xx.pod, where xx is the code for your language
* open inkscape.xx.pod in your favourite text editor (pay attention to encoding which must be UTF8), and directly translate in the file.
* you can take a look at a first example of translation with inkscape.fr.pod
* finally, submit your work in the patch tracker and drop a mail to the inkscape devel mailing list.
= Translation information =
Go Back to the main [http://wiki.inkscape.org/wiki/index.php/Translation_information Translation information] page.
[[Category: Developer Discussion]]

Latest revision as of 17:55, 24 October 2019