Re: [Koha] [Koha-translate] Ways to test our translation, and pref po files
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@bsz-bw.de>wrote:
**
Sorry, I am out of ideas. :(
-----Ursprüngliche Nachricht----- Von: Karam Qubsi [mailto:karamqubsi@gmail.com <karamqubsi@gmail.com>] Gesendet: So 15.04.2012 14:37
An: Fischer, Katrin Cc: koha-translate@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@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@gmail.com <karamqubsi@gmail.com> <
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
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> <
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
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
directory with the other po files and run the translation scripts. The
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
Koha. po po 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
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@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@bsz-bw.de
wrote:
**
Sorry, I am out of ideas. :(
-----Ursprüngliche Nachricht----- Von: Karam Qubsi [mailto:karamqubsi@gmail.com <karamqubsi@gmail.com>] Gesendet: So 15.04.2012 14:37
An: Fischer, Katrin Cc: koha-translate@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@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@gmail.com <karamqubsi@gmail.com> <
karamqubsi@gmail.com>]
closedir() attempted on invalid dirhandle $fh at LangInstaller.pm line
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
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:
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><
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
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
http://wiki.koha-community.org/wiki/Installation_of_additional_languages_for... po the
directory with the other po files and run the translation scripts. The
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 po 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
Hi, two remarks: * concerning translate.pl vs. ./translate.pl: this a general Unix/Linux issue. The correct answer is: if you want to execute a program in a shell, the shell has to know where the program is. The shell can be told where to look for the program by either calling it with its path (either using the absolute path e.g. /here/is/the/program/program or using a relative path e.g. ./program), or by including the path in the PATH variable. So, if the current path (denoted by .) is not included in PATH, you have to use it explicitly. * That the following command sequence works, is a coincidence: sudo env KOHA_CONF=/etc/koha/koha-conf.xml PERL5LIB=/usr/share/koha/lib/ perl ./translate install ar-Arab the sudo env ... line has no effect on the next line. The reason is that if you set an environment variable in a shell it vanishes if the shell terminates. So, in case of your command line, sudo executes env setting KOHA_KONF et al. but as soon as it quits the environment variable is lost again. In other words, the environment variables were already set when you called sudo env ... and the line did not have any effect. Cheers, Stephan Am 15.04.2012 um 16:08 schrieb Karam Qubsi:
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@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@bsz-bw.de
wrote:
**
Sorry, I am out of ideas. :(
-----Ursprüngliche Nachricht----- Von: Karam Qubsi [mailto:karamqubsi@gmail.com <karamqubsi@gmail.com>] Gesendet: So 15.04.2012 14:37
An: Fischer, Katrin Cc: koha-translate@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@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@gmail.com <karamqubsi@gmail.com> <
karamqubsi@gmail.com>]
closedir() attempted on invalid dirhandle $fh at LangInstaller.pm line
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
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:
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><
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
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
http://wiki.koha-community.org/wiki/Installation_of_additional_languages_for... po the
directory with the other po files and run the translation scripts. The
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 po 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
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (2)
-
Karam Qubsi -
Witoszynskyj Stephan