Browse Source
This patch provides a definition file for Spanish (es) character sorting in Zebra. It is based on the ideas from Hugo Agud <hagud@orex.es> and Pablo Bianchi <pablo.bianchi@gmail.com>. Makefile.PL is fixed to notice the existence of the 'es' language. The docs for koha-create are touched too. To test: Tarball ======= - Go through the install process, choosing 'es' for the Zebra's language step - Koha should work as usual. - Running this should show the lang definition is properly set. $ grep -R "lang_defs/es" /etc/koha/* (stuff like zebradb/zebra-biblios-dom.cfg:profilePath:...etc/koha/zebra/lang_defs/es... should show) - This file should be present: /etc/koha/zebradb/lang_defs/es/sort-string-utf.chr Packages ======== - Build your own package, it shouldn't break the packaging - Try the new package, using koha-create to set an instance using --lang 'es' Sponsored-by: Universidad Nacional de Córdoba Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>new/bootstrap-opac
3 changed files with 44 additions and 2 deletions
@ -0,0 +1,42 @@ |
|||
# Koha's Zebra character map file for spanish |
|||
# |
|||
encoding utf-8 |
|||
# Character sort order definition |
|||
lowercase {0-9}{a-y}üzæäøöå |
|||
uppercase {0-9}{A-Y}ÜZÆÄØÖÅ |
|||
|
|||
# Breaking characters |
|||
space {\001-\040}!"#$%&'\()*+,-./:;<=>?@\[\\]^_`\{|}~ |
|||
|
|||
# Characters to be considered equivalent for searching purposes. |
|||
equivalent uü |
|||
|
|||
# Supplemental mappings |
|||
map (ä) a |
|||
map (æ) æ |
|||
map (ø) ø |
|||
map (å) a |
|||
map (ö) o |
|||
map (Ä) A |
|||
map (&Aelig;) Æ |
|||
map (Ø) Ø |
|||
map (Å) A |
|||
map (Ö) O |
|||
|
|||
map âàáäÂÀÂÄ a |
|||
map êèéëÊÈÉË e |
|||
map îïíÎÏ i |
|||
map ôöóÔÖ o |
|||
map ûùüÛÜÙ u |
|||
map çÇ c |
|||
map ñ n |
|||
|
|||
map (^El\s) @ |
|||
map (^En\s) @ |
|||
map (^La\s) @ |
|||
map (^Los\s) @ |
|||
map (^Las\s) @ |
|||
map (^Un\s) @ |
|||
map (^Unos\s) @ |
|||
map (^Una\s) @ |
|||
map (^Unas\s) @ |
Loading…
Reference in new issue