[Po4a-devel]should we switch to Text::WrapI18N ?

Martin Quinson mquinson@ens-lyon.fr
Wed, 18 Aug 2004 16:46:58 -0700


--nOM8ykUjac0mNN89
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 19, 2004 at 12:26:10AM +0200, Jordi Vilalta wrote:
> Hi,
>=20
> On Tue, 17 Aug 2004, Martin Quinson wrote:
> >Hello,
> >
> >while trying to fix the fact that '.  ' is changed '. ', I noticed that
> >there is a Text::WrapI18N on my box, which can handle "strange" languages
> >where all chars do not have the same width or not even a space char.
>=20
> Where does it happen? Is this only a Man.pm issue?

Everywhere.

In Po, we rewrap the msgid making sure that the trailing spaces survive
(since they are important here). In TransTractor, we rewrap the content of
the translation if asked to by the module.

> >Should we switch to it or is the dependency too much? But if not, how to
> >deal with those languages?
>=20
> It's only 6KB, it's very light.

Good news.

> >Indeed, po4a does not use the Text::Wrap module right now, because we wo=
uld
> >loose the spaces at the end of lines (which are important within the po
> >file). But Text::WrapI18N is made by Tomohiro KUBOTA, which I know from =
the
> >debian-i18n mailing list. I'm sure we could get him adding an option for=
 us
> >here.
>=20
> What I don't get at all is where do you want to use it.
>=20
> >Jordi, can you get this library on your box, or is it Debian only?
>=20
> It gave no problem, it's a cpan module. It's not yet in Gentoo, but if we=
=20
> use it, I can make its package.

Ok, so I guess that's the way do go. Only, really not yet. I'm dead, man.
I'm not gonna make this fucking paper before the deadline.

Mt.

--=20
WARNING: Do not execute!  This software violates patent EP0850441.
http://www.elug.de/projekte/patent-party/patente/EP0850441
                                                                     =20

IP=3D192.168.0.1;while ping -c 1 $IP;do sleep 1;done;echo Host $IP gone\!

--nOM8ykUjac0mNN89
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBI+pxSJAMsfOxudIRAr2DAJwIrbirgO78lXSmeFVsGzCwMwIalgCbBHdL
iv0JhHAHadfp1LFT6BgNdcg=
=kShq
-----END PGP SIGNATURE-----

--nOM8ykUjac0mNN89--