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

Fischer, Katrin Katrin.Fischer at bsz-bw.de
Sun Apr 15 14:28:17 CEST 2012


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]
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>]
> 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
> >
> >
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-translate/attachments/20120415/6e938024/attachment-0001.htm>


More information about the Koha-translate mailing list