Re: doc-i18n-tool
- From: Jonathan Blandford <jrb redhat com>
- To: veillard redhat com
- Cc: Gregory Leblanc <gleblanc linuxweasel com>,Darin Adler <darin bentspoon com>, gnome-doc-list gnome org,gnome-i18n gnome org
- Subject: Re: doc-i18n-tool
- Date: 22 Oct 2001 16:12:02 -0400
Daniel Veillard <veillard@redhat.com> writes:
> On Mon, Oct 22, 2001 at 12:48:47PM -0400, Gregory Leblanc wrote:
> > On Mon, 2001-10-22 at 15:23, Jonathan Blandford wrote:
> > > > Hum, I will let Jonathan check this one.
>
> And for a reason ... that's where it belongs !
>
> > > My plan was to use xmllint for this. In my example, I ran the doc
> > > through xmllint --noblanks before passing it to doc-i18n-tool. I don't
> > > think doing anything else is worth doing.
>
> Wrong it's not the right place
>
> > I did. It doesn't appear to work to remove those. The above snippit is
> > from policies.pot, generated with the command 'xmllint --noblanks
> > |doc-i18n-tool --output-pot-file policies.xml > file.pot'. policies.xml
> > is gnome-docu/gnome-org-policies/policies.xml.
>
> --noblanks removes *formatting* blanks !
>
> <a> <b/> </a> => <a><b/></a>
> <a><b> </b></a> is not modified !
Ah -- I didn't appreciate that.
> You need to process this at the string handling level !
> Commit this somewhere in CVS even if it need a new bogo module if nobody
> accepts this. I cannot comment or work on code "in the air" !
I'll try to get it into intl-tools right away.
-Jonathan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]