Skip to content

Instantly share code, notes, and snippets.

@xmorave2
Last active May 5, 2022 07:43
Show Gist options
  • Save xmorave2/80243449ff9dd454ea92ac3b1cf02c4b to your computer and use it in GitHub Desktop.
Save xmorave2/80243449ff9dd454ea92ac3b1cf02c4b to your computer and use it in GitHub Desktop.
Update koha language from translate.koha-community.org into current installation
#!/bin/bash
cd /usr/share/koha/misc/translator/po
rm cs-CZ*
wget http://translate.koha-community.org/download/cs/316/cs-CZ-i-opac-t-prog-v-3006000.po
wget http://translate.koha-community.org/download/cs/316/cs-CZ-i-staff-t-prog-v-3006000.po
wget http://translate.koha-community.org/download/cs/316/cs-CZ-opac-ccsr.po
wget http://translate.koha-community.org/download/cs/316/cs-CZ-opac-bootstrap.po
wget http://translate.koha-community.org/download/cs/316/cs-CZ-staff-help.po
wget http://translate.koha-community.org/download/cs/316/cs-CZ-pref.po
koha-translate -u cs-CZ