po2debconf(1)


NAME

   po2debconf - merge master templates file and PO files

SYNOPSIS

   po2debconf [-v] [-h] [--podir=DIR] [-o FILE] [-e STRING] master

DESCRIPTION

   This program reads all PO files and a single templates file, and
   produces a Debconf templates file containing all translations, similar
   to the one produced by debconf-mergetemplate(1) (from the
   "debconf-utils" package).  PO files are by default searched in the po
   subdirectory below the location of the master file.

   To help the language code transition for Norwegian Bokml, the no and
   nb language codes are handled specially.  If no.po exists, it should be
   renamed to nb.po.  Using nb.po will make both "-no" and "-nb"
   translations available in the templates file.

   Lines beginning with a number sign ("#") are comments in templates
   files.  They are useful to give hints to translators, and are discarded
   by po2debconf.  Special comments have been introduced in "po-debconf"
   1.0.  They are in the form "#flag:directive".  The "#flag:partial" is
   the only directive interpreted by po2debconf.  Normally when a field is
   composed of several paragraphs (like "__Choices" and "_Description"),
   it is translated if all paragraphs are translated.  When a field
   contains "#flag:partial", translated strings may be mixed with
   untranslated strings.

OPTIONS

   -h, --help
       Display a usage summary and exit.

   -v, --verbose
       Process in verbose mode.

   --podir=DIR
       Set directory for PO files.  Default is to search PO files in the
       po subdirectory below the location of the master file.

   -o, --output=FILE
       Set output filename (default is standard output).

   -e, --encoding=STRING
       Convert encoding.  Argument can take 3 values: "utf8" (convert to
       UTF-8), "po" (do not change encoding) and "popular" (convert
       encoding of input files depending on their language; the
       "PODEBCONF_ENCODINGS" environment variable must point to a name of
       a file containing the encoding map).

       Such a filename looks like:

         #
         #   Number is comment sign
         #
         cs       ISO-8859-2
         da       ISO-8859-1
         de       ISO-8859-1
         el       ISO-8859-7

       etc.

       Default encoding used to be "popular", and has been switched to
       "utf8" since po-debconf 0.9.0.

OUTPUT FORMAT

   Since debconf 1.2.0, templates format has changed, encoding is part of
   field names, i.e. they are "foo-lang.encoding".  When older debconf
   encounter such fields, they are silently ignored, which means that
   original text is displayed.

   If present, a po/output file can override defaults for encoding and
   output format.  It contains a single line with two fields. The first
   field is the output format (currently valid values are 1 for fields in
   the form "foo-lang", and 2 for "foo-lang.encoding") and the second
   field is the encoding, e.g.

      echo '2 utf8' > po/output

   let po2debconf convert text to UTF-8.

   When encoding is set to "po" or "utf8", output format is always set to
   2, so that older debconf do not try to display text with wrong
   encodings.

SEE ALSO

   debconf-gettextize(1), debconf-updatepo(1), po-debconf(7).

AUTHOR

     Denis Barbier <barbier@linuxfr.org>

                              2016-10-01                     PO2DEBCONF(1)





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.