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. Location and Item Status Not Translated from Codes to Text

    Location and Item Status Not Translated from Codes to Text

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Description:
    In the Primo English language Locations tab, I can see location, item type and item status translated to text.
    However, in Portuguese, the same information is displayed as the code, not as the text.

    Resolution:
    The question to ask here is: “What TRN files are used by the DLF queries?
    The answer can be found in KB # 29549:
    . . .
    “The API response may be altered using trn and tag files.“
    KB # 29899 indicates that these files are now located in the aleph/dlf_<lng> directory on the a-tree.

    These are the relevant trn (translation) files:
    ./alephe/dlf_eng/dlf-renewloan.trn
    ./alephe/dlf_eng/dlf-getpatroninfo.trn
    ./alephe/dlf_eng/dlf-cancelhold.trn
    ./alephe/dlf_eng/dlf-getpatronstatus.trn
    ./alephe/dlf_eng/dlf-getrecords.trn
    ./alephe/dlf_eng/dlf-requestitem.trn
    ./alephe/dlf_eng/dlf-requestitem.trn
    ./alephe/dlf_eng/dlf-requesttitle.trn
    ./alephe/dlf_eng/dlf-global.trn

    Looking at your Aleph server, we see no localization (u-tree/alephe_root) for dlf_por:

    Also, in the generic setup (a-tree/aleph_root), we see that there is no dlf_por localization.

    Note that global settings should appear in dlf-global.trn. For example, this is the dlf-global.trn line that translates the z30-item-status.
    z30-item-status ITEM-STA S z30-sub-library z30-item-process-status

    Please add dlf_por trn files to $alephe_root and test again (it recommended to add this directory in the u-tree/alephe_root, not in the a-tree/aleph_root).

    If all the other standard language setup is in place, the act of creating dlf_por should resolve this problem (you may need to force a web page reload, for example, in IE CTRL-F5 in order to see the change in the dlf response via the browser, but the change should be immediately apparent via a dlf command in the server , for example:

    >> wget -O test "http://yourserver:1891/rest-dlf/record/ABC01001190602/items?noItems=100?=por&view=full" ; ; cat test | xmllint --format - | grep z30-item-status | grep -v code
    <z30-item-status>Circula</z30-item-status>


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Location and holdings appear more than once in Web OPAC for serial records
      • Location display twice in Brief View in OPAC for serials with subscriptions
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. contype:kba
      3. Prod:Aleph
      4. 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