Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. How to maintain error messages and services files locally

    How to maintain error messages and services files locally

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Additional Information
    • Article Type: General
    • Product: Aleph
    • Product Version: 18

    Desired Outcome Goal:
    Maintain local error messages and modify services files

    Procedure:
    In version 18 some directories that were previously placed below $alephe_root can now be found in $aleph_dev/aleph. Since this new architecture often raises questions, we would like to point out some important consequences.

    The directories error_lng (error messages, warnings and variable texts) and pc_b_lng (services) were moved from $alephe_root to $aleph_dev/aleph. In version 16 there was another directory pc_b_lng containing the help texts of the services. This directory is now called pc_b_help_lng. (The extension "lng" is the language code, e.g. ger, eng or fre.)

    The important consequence of these new locations: The amount of maintenance has considerably decreased. Previously those error messages and services that were delivered into the a-tree needed to be copied into the u-tree. Now you do not have to take care of these messages. Modified error messages are placed in the a-tree without any maintenance expected from you.

    It is nonetheless still possible to maintain own versions of messages and services. Therefore you may create the directories pc_b_lng and error_lng (but not pc_b_help_lng!) in $alephe_root. Now the system will prefer your text and ignore the standard version in $aleph_dev/aleph.

    Example: You decide to change the message "Patron expiration date has passed" to "Patron's library card has expired".

    1. Find the message (for example with a grep command in error_lng). It is placed in $aleph_dev/aleph/error_eng/www_f_heading:

    0121 L Patron expiration date has passed - $1.

    2. Make an own directory error_eng:

    cd $alephe_root
    mkdir error_eng

    3. Copy the file www_f_heading here:

    cd error_ger
    cp $aleph_dev/aleph/error_ger/www_f_heading .

    4. Open the copy of the www_f_heading file and change the above-mentioned line.

    It is not necessary to keep the entire file as a copy. You may delete those lines from the file that you do not intend to change. Those lines will be read from the original file in $aleph_dev/aleph.

    An important consequence arises from the file "global". This file is placed in error_lng. It is a so-called "catch-all file" which is consulted whenever an error code cannot be found in any other file. The sequence that the system uses for searching an error code is the following:

    1. in $alephe_root/error_lng/(specific file) 2. in $alephe_root/error_lng/global 3. in $aleph_dev/aleph/error_lng/(specific file) 4. in $aleph_dev/aleph/error_lng/global

    Since this may have unwanted consequences, we recommend to let the file global in $aleph_dev/aleph/error_lng without copying it to the u-tree.

    Additional Information

    The information above was sent as 'Tips & Advice No. 1' to aleph-news list (18-Dec-2007)

    Category: Installation & Upgrades (500)

    Subject: Service Pack (500)


    • Article last edited: 10/29/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to look at z00r records: util f/4? SQL?
      • How to make a change to item collection
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 18
      2. contype:kba
      3. Installation & Upgrades (500)
      4. Prod:Aleph
      5. Service Pack (500)
      6. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved