File: README.translators

package info (click to toggle)
packaging-tutorial 0.24
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,816 kB
  • sloc: makefile: 24
file content (27 lines) | stat: -rw-r--r-- 1,176 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Translating packaging-tutorial
==============================

packaging-tutorial is written in LaTeX, and uses po4a. You need some
texlive packages to build it. If you are not sure of the packages needed
for your language, just install 'texlive-full' (but it's huge).

Getting the source: debcheckout packaging-tutorial

Generating a translated document:
- put the .po file in po4a/po/
- run: dpkg-buildpackage
  or run: po4a po4a/po4a.cfg --verbose
    then: pdflatex packaging-tutorial.CODE.tex

Two big warnings:
1) LaTeX is very sensitive to escape characters and well-balanced parenthesis.
2) The lstlisting environment, used for code examples in the document, does
   not support utf8 characters. Generally, it does not make sense to translate
   most of those parts, as they are code. However, it is still possible to
   translate the comments, but accented characters must be escaped. See the
   'fr' translation, and specifically the 'debian/rules using debhelper' slides,
   for examples.

Crediting your work:
See po4a/add_fr/fr.add for an example of adding an additional slide at the end,
and the fr.po file for an example of adding your name on the title slide.