DEBCONF-GETLANG(1) | Debconf | DEBCONF-GETLANG(1) |
debconf-getlang - extract a language from a templates file
debconf-getlang lang master [translation] debconf-getlang --stats master translation [...]
Note: This utility is deprecated; you should switch to using the po-debconf package.
This program helps make and manage translations of debconf templates. There are basically three situations in which this program might be called:
To do this, run the program with first parameter being the code for the language that is being translated to, and the second parameter being the filename of the English templates file.
To accomplish this, run the program with the first parameter being the the code for the language that is being translated to, the second parameter being the filename of the master English templates file, and the third parameter being the filename of the current translated file.
When run this way, the program is smart enough to notice fuzzy translations. For example a fuzzy Description will be output as Description-<lang>-fuzzy, and a new, blank Description-<lang> will be added. Translators should remove the -fuzzy fields as they correct the fuzzy translations.
debconf-getlang --stats debian/templates debian/templates.*
Note that the text in the generated templates may be word-wrapped by debconf.
Joey Hess <joeyh@debian.org>
2021-10-01 |