po4a-dev
[Top][All Lists]
Advanced

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

[Po4a-dev]. Introducing po-pod


From: Martin Quinson
Subject: [Po4a-dev]. Introducing po-pod
Date: Mon, 18 Nov 2002 09:04:52 +0100
User-agent: Mutt/1.4i

Hello,

I've the feeling that po-pod is approaching release time. I've implemented
everything I wanted, and it's now beta. But it need more testing from other
pepole. Here is the changelog of version 0.8:

  * Po.pm:
    - New functions: gettext_stats, and gettext_stats_clear. Be carefull
      (and read the doc ;), it's not the status of the file, it's the
      summary of its recent use through the gettext method.
    - New function: wrapped_gettext(), wrapped_push(), which do like 
      gettext() and push(), but assumes that whitespaces in msgid and 
      msgstr are not significant (and modify them).
  * pod-updatepo: INCOMPATIBLE INTERFACE CHANGE!
    - now accepts several pod files (to put their translation in only one
      file per language).  
  * pod-translate:
    - reports how much is each file translated when running verbose.
    - New option: -k set the threshold under what the translation is
      discarded. Defaults to 80. 
    - New option: -w set the width to which the resulting file should be
      wrapped. Defaults to 76.
    - New option: -a|--add-file is implemented (see man page). It's not
      specific to pod files, and should work for all modules, provided
      that they keep the file to output in a @ of lines.
  * Packaging:
    - Perl modules are now stored under /usr/share, and not /usr/lib
      because they are not arch-dependant.
    - Manpages are now installed only with dh_installman, so that we don't  
      get them twice.
    - The comments in source also says that code is GPL'ed
  * All binaries and modules:
    use (regular) gettext.pm to localize the messages ;)

Here is the remaining TODO:

** po-pod:
 - write po-pod.7

** gettextize: 
 -  move the fusion of two po in one (using first for msgid and second for
    msgstr) into Po.pm

** update:
 - verbose => type in automatic comments

** translate:
  - move the handeling of addendum in Po.pm
  
** Po4a:
  - Make a real module/package
  - man page in section 7

** Pod.pm:
  - redo the documentation.


Denis, would you kind enough to have a look at it, and upload it (you're
marked as maintainer :) ?

For now, it's available from:
  http://www.ens-lyon.fr/~mquinson/deb.html#po-pod
and:
  deb http://www.ens-lyon.fr/~mquinson/debian unstable main non-free
  deb-src http://www.ens-lyon.fr/~mquinson/debian unstable main non-free

I guess I'll make an anouncement on debian-l10n-french and debian-i18n.

- I dunno what to do now. Manpages are appealling, but look pretty hard. I may
  try that. Or texinfo...
- I could also work on po-debiandoc to move it to the new interface
  (gettextize, updatepo and translate) and use the new Po.pm. Denis, what do
  you think?
- Last possibility, I could package it as perl module, but I dunno how to do
  that, and I would prefer to do something else.

Bye, Mt.


-- 
Il ne faut pas confondre « La société m'opprime » et « le système m'étrique ».
          --- éphéméride du 19 juin




reply via email to

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