[wp-hackers] i18n problem:xgettext: unrecognized option `--package-name='

Davit Barbakadze jayarjo at gmail.com
Wed Dec 23 21:24:42 UTC 2009


Hm...

I thought I did latest svn from trunk - there is only one svn address
stated on this page:
http://codex.wordpress.org/I18n_for_WordPress_Developers and I do got
a latest xgettext package, for sure. Does it work for you?

On Thu, Dec 24, 2009 at 1:16 AM, Nikolay Bachiyski <nb at nikolay.bg> wrote:
> On Mon, Dec 21, 2009 at 17:13, Davit Barbakadze <jayarjo at gmail.com> wrote:
>> ...
>> php makepot.php wp-plugin your-plugin-directory (I use w-plugin switch
>> since I could not find a switch for themes)
>>
>
> There is a wp-theme project. Type php makepot.php to see them all.
>
>> I get this:
>>
>> xgettext: unrecognized option `--package-name='
>> Try `xgettext --help' for more information.
>> Couldn't generate POT file!
>>
>> Any solution to this?
>>
>
> Until recently (a couple of hours) makepot.php used xgettext arguments
> to fill in some meta information. Unfortunately some of these
> functionality isn't available to older xgettext version. That's why if
> you svn up yo the latest version of makepot.php you'll see that the
> problem is gone. All metadata is just substituted in the generated POT
> file.
>
> Happy hacking,
> Nikolay.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Davit Barbakadze


More information about the wp-hackers mailing list