jgettext / gettext-commons

Internationalization (i18n) through GNU gettext and Java ResourceBundles
GNU Lesser General Public License v2.1
19 stars 10 forks source link

Add gettext-ant-tasks support for using fuzzy entries in msgfmt output #53

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice to be able to include fuzzy entries in the msgfmt output when 
using GettextDistTask. Attached is a patch to enable this.

Sample usage is as follows:

<taskdef name="gettext-dist"
  classname="org.xnap.commons.ant.gettext.GettextDistTask"
  classpath="..." />
<gettext-dist
  targetBundle="i18n.Messages"
  poDirectory="src/resources/po"
  outputDirectory="..."
  useFuzzy="true" />

The default value remains the same (false) to preserve existing behavior.

Original issue reported on code.google.com by pschnei...@gmail.com on 28 Feb 2012 at 7:11

Attachments: