jgettext/gettext-commons

[PATCH] make --lang-Parameter in gettext-ant-tasks/extract-messages configurable

Closed this issue · 1 comments

What steps will reproduce the problem?
1. tried to extract some i18n-strings from a Mono-project with the ant-tasks
2. unfortunately it assumed that the lang is Java so nothing was extracted
3. therefore i patched the library to allow " language="--lang=C#" "
(--lang=java is the default value so existing projects don't break)

What is the expected output? What do you see instead?
attached is the diff-file

What version of the product are you using? On what operating system?
v0.9.7 on MacOS


Original issue reported on code.google.com by michael....@googlemail.com on 16 Apr 2010 at 10:42

Attachments:

I wasn't aware that ant had support for .net. I applied your patch and 
committed it to svn, 
thank you.

Would more modifications have to be made to also allow message bundle 
generation for .net? 
msgfmt seems to support --chsharp and --csharp-resources as output options.

Original comment by berge...@gmail.com on 23 Apr 2010 at 1:44

  • Changed state: Fixed