7. Install additional languages
In your install directory you can run this commands to have
your Koha setup translated to your language:
Set your environment variables:
$ export KOHA_CONF=/etc/koha/sites/koha/koha-conf.xml
$ export PERL5LIB=/usr/share/koha/lib/
NOTE: the path to koha-conf.xml may be different depending on
your installation choices.
Run the translator script:
$ cd /usr/share/koha/misc/translator
$ perl translate install <language-code>
<language-code> must be one of the included in the
misc/translator/po directory.
NOTE: You can add as many languages as you need. In order to
use them you will have to enable them first in the
'I18N/L10N' section of the Koha preferences.
Powyżej dałem cytat z instrukcji.
A tak po naszemu:
(kolorem czerwonym oznaczyłem ścieżkę którą trzeba ustawić zgodnie z własną instalacją)
1. najpierw wykonujemy 2 pierwsze instrukcje aby nie czepiał się perl przy instalacji języka
$ export KOHA_CONF=/etc/koha/sites/koha/koha-conf.xml
$ export PERL5LIB=/usr/share/koha/lib/
2. ściągamy aktualne pliki jerzykowe z
translate.koha-community.org/pl/ (wybieramy wersjÄ™ zgodnÄ… z naszÄ… instalacjÄ…)
3. kupujemy pliki do katalogu
/usr/share/koha/misc/translator/po/
4. cofamy siÄ™ do katalogu
/usr/share/koha/misc/translator
i wykonujemy polecenie
perl translate install pl-PL
5. na koniec pozostaje nam włączyć język w
Administration › System preferences > I18N/L10N