[Koha-docs] [Koha-translate] Arabic manual 38
Karam Qubsi
karamqubsi at gmail.com
Fri Jul 27 20:56:28 CEST 2012
Hi Laurence ,
I don't know what is the problem exactly , but I solve this problem by open
the manual.xml via ( XMLEditor <http://www.xmlmind.com/xmleditor/> ) and
add (space) and delete it (then save it ) and try again and it will work :)
maybe this is about the (UTF-8) encoding
On Fri, Jul 27, 2012 at 6:43 PM, Laurence Lefaucheur <
laurence.lefaucheur at biblibre.com> wrote:
> Hi,
>
> In installed itstool-1.2.0, and when I run :
>
> itstool -o manual.pot manual.xml
>
> I have many errors like :
>
> manual.xml:40231: parser error : Entity 'lsquo' not defined
> ‘<literal>show c</literal>' should show the appropriate parts
> of the
>
> Did you have the same ?
> How can I solve the problem ?
>
> Thanks,
>
> Laurence
>
> Le 25/07/2012 22:09, Karam Qubsi a écrit :
>
>> Hi all
>> Using "itstool"
>> http://itstool.org <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
>> <mailto: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>
>>
>> <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>
>> <http://www.tamil.fr/u/**fdemians.html<http://www.tamil.fr/u/fdemians.html>
>> >
>>
>>
>>
>>
>>
>>
>>
>> ______________________________**_________________
>> Koha-docs mailing list
>> Koha-docs at lists.koha-**community.org <Koha-docs at lists.koha-community.org>
>> https://lists.koha-community.**org/cgi-bin/mailman/listinfo/**koha-docs<https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-docs>
>>
>
>
> --
> ------------------------
> Laurence Lefaucheur
> BibLibre
> solutions libres pour les bibliothèques
> http://www.biblibre.com
> laurence.lefaucheur at biblibre.**com <laurence.lefaucheur at biblibre.com>
> p. 06 27 85 46 49
>
>
> ______________________________**_________________
> Koha-docs mailing list
> Koha-docs at lists.koha-**community.org <Koha-docs at lists.koha-community.org>
> https://lists.koha-community.**org/cgi-bin/mailman/listinfo/**koha-docs<https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-docs>
>
--
Karam Qubsi
Koha Arab Translating Team
http://koha.wikibrary.org/
Wikibrary for Arab Librarians
http://wikibrary.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.koha-community.org/cgi-bin/mailman/private/koha-docs/attachments/20120727/03b7dc93/attachment.htm>
More information about the Koha-docs
mailing list