'AUTH_INDEX_MODE' => { 'grs1' => 1, 'dom' => 1 },
'BIB_INDEX_MODE' => { 'grs1' => 1, 'dom' => 1 },
'ZEBRA_MARC_FORMAT' => { 'marc21' => 1, 'normarc' => 1, 'unimarc' => 1 }, # FIXME should generate from contents of distributation
- 'ZEBRA_LANGUAGE' => { 'en' => 1, 'fr' => 1, 'nb' => 1 }, # FIXME should generate from contents of distribution
+ 'ZEBRA_LANGUAGE' => { 'en' => 1, 'es' => 1, 'fr' => 1, 'nb' => 1 }, # FIXME should generate from contents of distribution
'ZEBRA_TOKENIZER' => { chr => 1, icu => 1 },
'RUN_DATABASE_TESTS' => { 'yes' => 1, 'no' => 1 },
'USE_MEMCACHED' => { 'yes' => 1, 'no' => 1 },
usage="Usage: $0 [--create-db|--request-db|--populate-db|--use-db] \
[--marcflavor marc21|normarc|unimarc] \
- [--zebralang en|nb|fr] \
+ [--zebralang en|nb|fr|es] \
[--defaultsql /path/to/some.sql] \
[--configfile /path/to/config] [--passwdfile /path/to/passwd] \
[--database database] [--adminuser n] instancename"
--- /dev/null
+# 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) @