[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature proposal: string extracting by RegExp for xgettext
|
From: |
Bruno Haible |
|
Subject: |
Re: Feature proposal: string extracting by RegExp for xgettext |
|
Date: |
Tue, 11 Mar 2008 00:11:45 +0100 |
|
User-agent: |
KMail/1.5.4 |
Aurélio A. Heckert wrote:
> The xgettext implements the recognition of localizable
> strings on many languages, but it can fails in some cases,
> like ib bash "gettext -s" or in new languages / frameworks.
>
> We can have the option --extract-regexp or -re, where
> we can set the regexp to find strings to the xgettext.
You can have this functionality by piping the POT file produced by xgettext
through "msggrep -K -E -e REGEXP". Therefore an extra option on the xgettext
program is not needed.
Bruno