Re: Using a compendium with gettext

2007-01-29 Thread Ole Laursen
F Wolff [EMAIL PROTECTED] writes:

 Another thing we perhaps could use the compendium for is checking
 consistency, that the same string is translated in the same manner,
 but it's not clear exactly how. And of course, because of context,
 sometimes variations are desirable.

 To achieve this, you might be interested in poconflict [1] from the
 translate toolkit [2]. It can also work over a whole directory of PO
 files and find the conflicting translations. It filters them out for
 review, and can then merge back the ones that you kept and changed.

 1 http://translate.sourceforge.net/wiki/toolkit/poconflict
 2 http://translate.sourceforge.net/wiki/toolkit/index

Thanks for the tip, interesting stuff.

-- 
Ole Laursen
http://people.iola.dk/olau/

___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: Using a compendium with gettext

2007-01-28 Thread Ole Laursen
[EMAIL PROTECTED] (Danilo Šegan) writes:

 msgmerge has the -C option.  One can probably play smart and create
 separate PO files (one gotten from compendium, another with usual
 msgmerge), then use msgattrib to set all in compendium-one as fuzzy
 (and remove all the rest), and then merge again with this one and
 regularly merged one.

Ah, that's what I figured out too. I knew about the -C option but it
took some time to realise that msgattrib might help.

I just tested it, it seems to work. Nice.

 Does anyone actually want me to add such support to damned-lies? ;)
 File a bug, and start preparing compendiums :)

I personally just get the files directly from SVN, so it wouldn't help
me. But it would be cool if msgmerge supported it directly so that I
wouldn't have to use msgattrib on the compendium. Do you know who I
can contact to suggest this?

Another thing we perhaps could use the compendium for is checking
consistency, that the same string is translated in the same manner,
but it's not clear exactly how. And of course, because of context,
sometimes variations are desirable.

-- 
Ole Laursen
http://people.iola.dk/olau/

___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: Using a compendium with gettext

2007-01-28 Thread F Wolff
On So, 2007-01-28 at 17:07 +0100, Ole Laursen wrote:

...

 Another thing we perhaps could use the compendium for is checking
 consistency, that the same string is translated in the same manner,
 but it's not clear exactly how. And of course, because of context,
 sometimes variations are desirable.
 

To achieve this, you might be interested in poconflict [1] from the
translate toolkit [2]. It can also work over a whole directory of PO
files and find the conflicting translations. It filters them out for
review, and can then merge back the ones that you kept and changed.

1 http://translate.sourceforge.net/wiki/toolkit/poconflict
2 http://translate.sourceforge.net/wiki/toolkit/index

___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: Using a compendium with gettext

2007-01-21 Thread Gora Mohanty
On Sat, 2007-01-20 at 20:15 +0100, Ole Laursen wrote:
 Hi!
 
 Someone in the Danish team is working on getting a common compendium
 set up. It would be nice if you could augment a .po file with strings
 from the compendium, with the caveat that the extracted compendium
 strings should be marked fuzzy so they can be checked (sucking in
 strings used in another context is not exactly safe).
 
 Does anyone here know how to do this?
[...]

kbabel apparently has support for compendiums, though I have not
personally used this feature.

Regards,
Gora

___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: Using a compendium with gettext

2007-01-21 Thread Danilo Šegan
Hi Ole,

Yesterday at 20:15, Ole Laursen wrote:

 Someone in the Danish team is working on getting a common compendium
 set up. It would be nice if you could augment a .po file with strings
from the compendium, with the caveat that the extracted compendium
 strings should be marked fuzzy so they can be checked (sucking in
 strings used in another context is not exactly safe).

 Does anyone here know how to do this?

msgmerge has the -C option.  One can probably play smart and create
separate PO files (one gotten from compendium, another with usual
msgmerge), then use msgattrib to set all in compendium-one as fuzzy
(and remove all the rest), and then merge again with this one and
regularly merged one.

Ok, I know it sounds tricky, but it seems possible.

Does anyone actually want me to add such support to damned-lies? ;)
File a bug, and start preparing compendiums :)


Cheers,
Danilo

___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Using a compendium with gettext

2007-01-20 Thread Ole Laursen
Hi!

Someone in the Danish team is working on getting a common compendium
set up. It would be nice if you could augment a .po file with strings
from the compendium, with the caveat that the extracted compendium
strings should be marked fuzzy so they can be checked (sucking in
strings used in another context is not exactly safe).

Does anyone here know how to do this?

Personally I'm using po-mode in Emacs which unfortunately does not
appear to have compendium support.

-- 
Ole Laursen
http://people.iola.dk/olau/

___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n