Re: perl module for html2po
On 16:30 Mon 26 Mar , Jeremiah Foster wrote:
> Mon, Mar 26, 2007 at 04:24:12PM +0200: Xavier Oswald mangled some bits into this alignment:
> > On 14:22 Mon 26 Mar , Dominique Dumont wrote:
> > > Xavier Oswald <x.oswald@free.fr> writes:
> > >
> > > > Im looking for a perl module to transform html to po
> > >
> > > po ? What's that ?
> >
> > po is the translation file used for free software.
>
> Can you be more explicit? Is po an abbreviation for a package? Or for a tool or
> technology like ps is for postscript? i.e. a2ps stands for ascii to postscript.
if you have a project /foo/
with configure Makefile .. inside, you have a directory called po so /foo/po/
with a Makefile and lots of file like en.po, de.po, fr.po ... for each translation,
that's called po files
exemple with gparted and fr.po:
#. TO TRANSLATORS: this is the dialog title
#: src/Dialog_About.cc:26
msgid "About GParted"
msgstr "À propos de GParted"
And in your code, if you use _(" my sentence ")
It will be translated ;)
> I am not certain this is relative to your issue but doing the following command
> on my system shows a tool which might be helpful: xml2po
Yes, I know this one, and for informations there is a tool called poedit to
write your own translation files.. But I want to be able to parse an html file
and transform strings for a po file.
friendly,
--
,''`. Xavier Oswald <x.oswald@free.fr>
: :' : GNU/LINUX Debian & Debian-Edu
`. `' GnuPG Key ID 0x88BBB51E
`- 938D D715 6915 8860 9679 4A0C A430 C6AA 88BB B51E
Reply to: