[Koha] [Koha-translate] Ways to test our translation, and pref po files

Karam Qubsi karamqubsi at gmail.com
Mon Apr 16 02:08:31 NZST 2012


Ok it's work by running this :

sudo env KOHA_CONF=/etc/koha/koha-conf.xml PERL5LIB=/usr/share/koha/lib/
perl ./translate install ar-Arab


here is the deference :

./translate install ar-Arab

in the dot :|

my be this issue is just in ubuntu :)

Thanks All .


On Sun, Apr 15, 2012 at 4:00 PM, Karam Qubsi <karamqubsi at gmail.com> wrote:

> Ok thanks :)
> I will try and give you the result as soon as it done :)
>
> if any one have Ideas please help us :)
>
> Karam
>
>
>
> On Sun, Apr 15, 2012 at 3:54 PM, Fischer, Katrin <Katrin.Fischer at bsz-bw.de
> > wrote:
>
>> **
>>
>> Sorry, I am out of ideas. :(
>>
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Karam Qubsi [mailto:karamqubsi at gmail.com <karamqubsi at gmail.com>]
>> Gesendet: So 15.04.2012 14:37
>>
>> An: Fischer, Katrin
>> Cc: koha-translate at lists.koha-community.org
>> Betreff: Re: [Koha-translate] Ways to test our translation, and pref po
>> files
>>
>> yes I do this :
>>
>> sudo env KOHA_CONF=/etc/koha/koha-conf.xml PERL5LIB=/usr/share/koha/lib/
>> perl translate install ar-AR
>>
>> because I'm using Ubuntu and  these is the paths in my pc .
>>
>> any idea  ?
>>
>> On Sun, Apr 15, 2012 at 3:28 PM, Fischer, Katrin
>> <Katrin.Fischer at bsz-bw.de>wrote:
>>
>> > **
>>
>> >
>> > Hi Karam,
>> >
>> > I am not sure. Have you exported the environment variables?
>> >
>> > The example from the wiki reads:
>> > $ sudo env KOHA_CONF=/etc/koha/sites/koha/koha-conf.xml
>> > PERL5LIB=/usr/share/koha/lib/ perl translate install fr-FR
>> >
>> >
>> > Katrin
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Karam Qubsi [mailto:karamqubsi at gmail.com <karamqubsi at gmail.com> <
>> karamqubsi at gmail.com>]
>>
>> > Gesendet: So 15.04.2012 14:10
>> >
>> > An: Fischer, Katrin
>> > Cc: koha-translate at lists.koha-community.org
>> > Betreff: Re: [Koha-translate] Ways to test our translation, and pref po
>> > files
>> >
>> > Hi may be I have some problems :(
>> >
>> > i do this :
>> >
>> > :/usr/share/koha/misc/translator$ perl translate install fr-FR
>> >
>> > it gives me this :
>> >
>> > readdir() attempted on invalid dirhandle $fh at LangInstaller.pm line
>> 65.
>> > closedir() attempted on invalid dirhandle $fh at LangInstaller.pm line
>> 66.
>> > Unsupported language: fr-FR
>> >
>> >
>> > what is the problem :? :(
>> >
>> >
>> > On Sun, Apr 15, 2012 at 3:01 PM, Fischer, Katrin
>> > <Katrin.Fischer at bsz-bw.de>wrote:
>> >
>> > > **
>> >
>> > >
>> > > Hi Karam,
>> > >
>> > > since Koha 3.2 there are new scripts for adding and updating
>> > translations.
>> > > I have updated the wiki page a bit:
>> > >
>> > >
>> > >
>> >
>> http://wiki.koha-community.org/wiki/Installation_of_additional_languages_for_OPAC_and_INTRANET_staff_client
>> > >
>> > > Basically all you need to do is:
>> > >
>> > > - copy the po files in the right directory misc/translator/po
>> > > - run commant 'perl translate install <lang-code>' from
>> misc/translator
>> > >
>> > > It will take care of all 3 po files: opac, intranet and preferences.
>> > >
>> > > Hope that helps,
>> > >
>> > > Katrin
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Karam Qubsi [mailto:karamqubsi at gmail.com <karamqubsi at gmail.com><
>> karamqubsi at gmail.com> <
>> > karamqubsi at gmail.com>]
>> >
>> > > Gesendet: So 15.04.2012 13:52
>> > > An: Fischer, Katrin
>> > > Cc: koha-translate at lists.koha-community.org
>> > > Betreff: Re: [Koha-translate] Ways to test our translation, and pref
>> po
>> > > files
>> > >
>> > >
>> > > HI Katrin
>> > > what did you mean with translation scripts ?
>> > >
>> > > the tmpl_process3.pl is used to translate from po files to template
>> as I
>> > > understand this script .
>> > >
>> > > so I can use it to translate opac and staff client .
>> > > because there is templates
>> > >
>> > > but pref.po has no template ?
>> > >
>> > > which script did you mean , and how to use it ?
>> > >
>> > > and thanks a lot :)
>> > >
>> > > Karam
>> > >
>> > > On Sat, Apr 14, 2012 at 12:51 PM, Fischer, Katrin
>> > > <Katrin.Fischer at bsz-bw.de>wrote:
>> > >
>> > > > **
>> > >
>> > > >
>> > > > Hi,
>> > > >
>> > > > there is currently no way to directly check your translations in
>> Koha.
>> > > > What I normally do is using the search in Pootle to find and fix
>> wrong
>> > > > translations as I find them later when using Koha.
>> > > >
>> > > > If the po file for the prefs is in Pootle right now, it will also be
>> > > > included in the next release. For testing you can just copy it in
>> the
>> > po
>> > > > directory with the other po files and run the translation scripts.
>> The
>> > po
>> > > > file for the pref files works like the other files.
>> > > >
>> > > > Hope this helps,
>> > > >
>> > > > Katrin
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: koha-translate-bounces at lists.koha-community.org im Auftrag von
>> > > Karam
>> > > > Qubsi
>> > > > Gesendet: Sa 14.04.2012 11:15
>> > > > An: koha-translate at lists.koha-community.org
>> > > > Betreff: [Koha-translate] Ways to test our translation, and pref po
>> > files
>> > > >
>> > > >
>> > > > Hi
>> > > > What is the best ways to Test what we translate to Arabic.
>> > > >
>> > > > and if we can change and edit translation live on koha and then
>> export
>> > po
>> > > > file from koha ?
>> > > >
>> > > > or we have always translate in Pootle then export , then install
>> > > > translation
>> > > >
>> > > > some words we can not give it the right meaning if we do not know
>> > > > its Context in the system .
>> > > >
>> > > >
>> > > > and I want to ask about pref.po file how to add this file to koha
>> After
>> > > > installation
>> > > >
>> > > > I found this link but it is not explain about pref po files :
>> > > >
>> > > >
>> > >
>> >
>> http://wiki.koha-community.org/wiki/Installation_of_additional_languages_for_OPAC_and_INTRANET_staff_client
>> > > >
>> > > > wish you help me :)
>> > > >
>> > > > thanks a lot .
>> > > >
>> > > > Karam
>> > > >
>> > > >
>> > >
>> > >
>> >
>> >
>>
>>
>


More information about the Koha mailing list