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@gmail.com] Gesendet: So 15.04.2012 14:10 An: Fischer, Katrin Cc: koha-translate@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@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...
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@gmail.com <karamqubsi@gmail.com>] Gesendet: So 15.04.2012 13:52 An: Fischer, Katrin Cc: koha-translate@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@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@lists.koha-community.org im Auftrag von
Karam
Qubsi Gesendet: Sa 14.04.2012 11:15 An: koha-translate@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...
wish you help me :)
thanks a lot .
Karam