Koha supports many language translations. Add a new language (e.g. Arabic) by using the following steps,
Open Applications > System > Terminal and apply the following commands,
sudo su
export KOHA_CONF=/etc/koha/sites/library/koha-conf.xml
export PERL5LIB=/usr/share/koha/lib
Enter inside the translation folder,
cd /usr/share/koha/misc/translator
Check and find the availability of translations and language codes.
koha-translate --list --available
Find the desired language code (e.g. Arabic) and apply the command to install it,
perl translate install ar-Arab
Confirm that the Arabic language translation installed into Koha,
koha-translate --list
Enable the newly added translation, visiting
Administration > System Preferences > I18N/L10N > Language & OPAC languages
Check the languages and save changes.
To see the change, visit the Koha staff client, refresh the page. See the name of the translations that appeared at the left bottom part of the Koha staff client.
Cant install new language (es-ES). Error: print() on closed filehandle $fh at LangInstaller.pm line 336
ReplyDeleteit give me
ReplyDeleteKoha directories hierarchy for ar-Arab must be created first
sudo perl translate create ar-Arab
Deletesudo perl translate upadte ar-Arab
sudo perl translate install ar-Arab