[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] Reverse translation

From: Johan Vromans
Subject: Re: [bug-gettext] Reverse translation
Date: Tue, 26 Jul 2011 10:23:30 +0200

Hi Bruno,

Thanks for your reply.

[Quoting Bruno Haible, on July 26 2011, 01:19, in "Re: Reverse translat"]
> There is no ready-made tool for this task. If I were you, I would
> create a sed script (or Emacs program) 

If you look at my bio, you'll understand that it'll be a Perl program :).

> that replaces the Dutch strings with the English strings, for the
> strings that fit into a single line, and process all source files
> with this transformation. Then I would handle the (hopefully few)
> multi-line strings by hand.

It's not very hard to make a small, dedicated tool for this. Making a
generic tool would be much harden. Since the majority of the task
(parsing sources, understanding the __x keywords, collecting the
strings etc, is already handled in xgettext I'd hoped someone would
already have built a tool on top of that.

-- Johan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]