Provided by: libdist-zilla-localetextdomain-perl_0.91-3_all bug


       Dist::Zilla::Plugin::PotWriter - Something that writes gettext language translation
       template file


         with 'Dist::Zilla::Role::PotWriter';

         # ...

         sub execute {
             my $self = shift;


       This role provides a utility method for generating a GNU gettext
       <>-style language translation template.

   Instance Methods


       Creates or updates a GNU gettext <>-style language
       translation file. The supported parameters are:

           Path::Tiny object representing the file to write to. Required.

           Array reference listing the files to scan. Defaults to all *.pm files gathered by

           Path to the "xgettext" application. Defaults to just "xgettext" ("xgettext.exe" on
           Windows), which should work if it's in your path.

           Encoding to assume when scanning for localizable strings. Defaults to "UTF-8".

           The name of the localization package. Defaults to the distribution name as configured
           for Dist::Zilla.

           The version of the package. Defaults to the version as configured for Dist::Zilla.

           The name of the translation copyright holder. Defaults to the copyright holder
           configured for Dist::Zilla.

           Email address for reporting translation bugs. Defaults to the email address of the
           first author known to Dist::Zilla, if available and parseable by Email::Address::XS.


       David E. Wheeler <>


       Charles McGarvey <>

Copyright and License

       This software is copyright (c) 2012-2017 by David E. Wheeler.

       This is free software; you can redistribute it and/or modify it under the same terms as
       the Perl 5 programming language system itself.