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

Re: New i18n scheme implemented



On Wed, Jul 10, 2002 at 07:53:38PM +0200, Jordi Mallach wrote:
> On Wed, Jul 10, 2002 at 11:15:09AM +0200, Denis Barbier wrote:
> > In order to prevent CVS conflicts, .po file must not be updated when
> > running 'make install' on klecker.d.o.  This is why I am reluctant
> > having generated files under CVS control.
> > But if default target is not run on klecker.d.o, we could indeed
> > update <file>.<xx>.po in place.  Or add a 'po' target for this purpose.
> > What is your preferred choice?
> 
> being able to update just the desired po file would be nice, and another
> rule that updates them all.

Well, my reply was quite inaccurate, I will try to explain better.
  * Translators handle .po files
  * On klecker.d.o:
    + .mo files are automatically generated
    + they depend upon updated .po file, to detect fuzzy entries

Thus a rule like
  all:
    msgmerge foo.xx.po foo.pot -o foo.xx.po.n && mv foo.xx.po.n foo.xx.po
    msgfmt --statistics -o foo.mo foo.xx.po
will cause CVS conflicts when translator commits foo.xx.po, because this
file is also modified on server side.
For this reason, output of msgmerge is currently kept in a separate file.

There may be a simpler solution, but I fail to see it, so ideas are welcome.

> So, if this is implemented, would be able to edit .po files directly?

No, because it is not enabled (it requires mp4h 1.3.0, which won't be
installed until klecker is upgraded to woody).  Until then, changes in
these files will be lost, because I periodically regenerate .po files
from .wml.

But you can look into .po files to see which translations are missing
for your language, and if you are running sid you may check that Catalan
pages are unchanged when switching to this new scheme (see
english/po/README for details).

Denis


-- 
To UNSUBSCRIBE, email to debian-www-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: