---
name: "xgettext-tt2"
section: "1p"
platform: "linux"
package: "libtemplate-plugin-gettext-perl"
version: "1.0-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/xgettext-tt2"
---

# xgettext-tt2(1p)

Extract translatable strings from Template Toolkit 2 templates

## NAME

xgettext-tt2 - Extract translatable strings from Template Toolkit 2 templates

## SYNOPSIS

```
    xgettext-tt2 [OPTIONS] INPUTFILES
    xgettext-tt2 [OPTIONS] --files-from=FILELIST
```

## DESCRIPTION

The program **xgettext-tt2** extracts translatable strings from templates for the Template Toolkit version 2 (see \<http://www.template-toolkit.org\>).

For an overview of all command line options try the command "perldoc Locale::XGettext" or "man Locale::XGettext".  The online version of the manual page is available at \<https://github.com/gflohr/Locale-XGettext/blob/master/lib/Locale/XGettext.pod\>.

## DEFAULT KEYWORDS

The program uses the following built-in default keywords supported by Template::Plugin::Gettext:

- •

  gettext:1

- •

  ngettext:1,2

- •

  pgettext:1c,2

- •

  gettextp:1,2c

- •

  npgettext:1c,2,3

- •

  ngettextp:1,2,3c

- •

  xgettext:1

- •

  nxgettext:1,2

- •

  pxgettext:1c,2

- •

  xgettextp:1,2c

- •

  npxgettext:1c,2,3

- •

  nxgettextp:1,2,3c

## DEFAULT KEYWORDS

The program has the following built-in default flags supported by Template::Plugin::Gettext:

- •

  xgettext:1:perl-brace-format

- •

  nxgettext:1:perl-brace-format

- •

  nxgettext:2:perl-brace-format

- •

  pxgettext:2:perl-brace-format

- •

  xgettextp:1:perl-brace-format

- •

  npxgettext:2:perl-brace-format

- •

  npxgettext:3:perl-brace-format

- •

  nxgettextp:1:perl-brace-format

- •

  nxgettextp:2:perl-brace-format

## COPYRIGHT

Copyright (C) 2016-2018 Guido Flohr (http://www.guido-flohr.net/). License LGPLv3+: GNU General Public License version 3 or later \<http://gnu.org/licenses/lgpl.html\>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Copyright (C) 2016-2018 Guido Flohr \<guido.flohr@cantanea.com\>, all rights reserved.

## SEE ALSO

Template, Locale::XGettext, Template::Plugin::Gettext, xgettext, perl
