[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Automatic translation of fuzzy strings
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2005-09-15 17:30:25
Message-ID: 200509151930.25178.nicolasg () snafu ! de
[Download RAW message or body]

On Thursday 15 September 2005 18:47, Donatas G. wrote:
> 2005 m. rugsėjis 15 d., ketvirtadienis 19:44, Spiros Georgaras rašė:
> > On Thursday 15 September 2005 19:39 Donatas G. wrote:
> > > 2005 m. rugsėjis 15 d., ketvirtadienis 19:31, Pino Toscano rašė:
> > > > On Thursday 15 September 2005 18:26, Donatas G. wrote:
> > > > > > Have you tried
> > > > > > msgattrib --clear-fuzzy
> > > > >
> > > > > Hey, it seems to work! How do I apply it to a whole folder, or a
> > > > > tree of folders at once?
> > > >
> > > > For the current folder & subfolders:
> > > >
> > > > for i in `find . -name '*.po'`; do
> > > >   msgattrib -o $i --clear-fuzzy $i
> > > > done
> > > >
> > > > (not tested though)
> > >
> > > I get a lot of
> > > bash:  : command not found
> > >
> > > messages; something does not work; I do have gettext, though, and
> > > msgattrib works for me.
> > >
> > > find also works...
> >
> > Try
> >
> > for i in `find . -name "*.po"`; do
> > msgattrib -o $i --clear-fuzzy $i
> > done
>
> This does work.
>
> But hey, sorry guys, just realized that --clear-fuzzy is not what I want...
> It marks fuzzy messages as translated, and I want them PURGED, so they
> become UNTRANSLATED.

Perhaps for the file.po with the corresponding template file.pot

msgattrib --nofuzzy -o file.tmp file.po
msgmerge -o file.po file.tmp file.pot

Have a nice day!

>
> Any ideas?


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic