[Koha-docs] Translate KOHA Manual

Karam Qubsi karamqubsi at gmail.com
Thu Jul 26 02:37:00 CEST 2012


Hi All ,
Hi Frédéric

Attached with this Email  a Zip file contain the pot file for the manual
3.8 with the last version that Nicole submitted
and in the folder ( lang)
you will find ar , fr and de  po files to start with

we can add other languages as you know

I wish this will be added to the Pootle Server ( as a new project ) , and
start translating there :)

Kind regards

Karam

---------- Forwarded message ----------
From: Karam Qubsi <karamqubsi at gmail.com>
Date: Wed, Jul 25, 2012 at 11:09 PM
Subject: Re: [Koha-translate] Arabic manual 38
To: Frédéric Demians <frederic at tamil.fr>
Cc: Jared Camins-Esakov <jcamins at cpbibliography.com>, "Fischer, Katrin" <
Katrin.Fischer at bsz-bw.de>, koha-docs at lists.koha-community.org,
koha-translate at lists.koha-community.org, Nicole Engard <nengard at gmail.com>


Hi all
Using "itstool"
http://itstool.org

we can do the following points that Frédéric talked about :

- A .pot file can be generated from DocBook XML file
    by running :
            itstool -o manual.pot manual.xml
- One, or several, .po files can be generated from .pot file
      I think by saving it as po files
       ar.po , fr.po , de.po ....
- After translation, a translated XML DocBook file can be generated  from
.po file, and original English DocBook

      For this we have first to use *msgfmt* to generate mo file by running
:
      msgfmt fr.po
      then a messages.mo will be generated
      using this mo file we can generate the xml file by running :
         itstool -m messages.mo -o fr/ manual.xml

       Then the translated docbook will be generated in the sub-folder /fr


( using msgmerge ) TO UPDATE

- After original DocBook updates, a merging mechanism must allow to update
.pot file, and .po files

I think this will be similar to the process in the koha translation
project
I don't know how you do that exactly ( right now)  but I think

we have to generate a new pot file ( for the new version of the xml)
and update the po files from the new POT file using :
      msgmerge -U fr.po manual.pot

    where :
     manual.pot is the new generated POT file
     and the fr.po is the translated po file in the previous version


I hope you provide me with your assistance from your experience


and thank you all

Karam


On Sun, Jul 15, 2012 at 1:07 PM, Frédéric Demians <frederic at tamil.fr> wrote:

> Hi Karam,
>
>
> > but the Question is , where we will work ? in the same Pootle Server ,
> > or that is not available ?
>
> Very possible.
>
>
> > if that is available , I wish you upload the pot and po files to the
> > server If you want some guidelines you can use this guide it's very
> > useful , and very easy :
>
> > http://pwet.fr/man/linux/**commandes/xml2po<http://pwet.fr/man/linux/commandes/xml2po>
>
> Nothing hasn't been done yet in this direction. We have to validate that
> this workflow just works for us, test it, and document it. Things to do
> (at least):
>
> - A .pot file must be generated from DocBook XML file
> - One, or several, .po files must be generated from .pot file
> - After translation, a translated XML DocBook file must be generated
>   from .po file, and original English DocBook
> - After original DocBook updates, a merging mechanism must allow to
>   update .pot file, and .po files
>
> Who will do that job? You? the documentation manager? the translation
> manager?  From my perspective, you are the best suited to start this
> project since you will be the first to benefit from its results. If this
> workflow proves to work for you, I'm sure the community will embrace it
> with enthusiasm and gratitude.
>
> Kind regards,
> --
> Frédéric DEMIANS
> http://www.tamil.fr/u/**fdemians.html<http://www.tamil.fr/u/fdemians.html>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.koha-community.org/cgi-bin/mailman/private/koha-docs/attachments/20120726/6cd41ebb/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: po.zip
Type: application/zip
Size: 1137001 bytes
Desc: not available
URL: <https://lists.koha-community.org/cgi-bin/mailman/private/koha-docs/attachments/20120726/6cd41ebb/attachment-0001.zip>


More information about the Koha-docs mailing list