Skip to main content

Enable Lookup Files for Index Sorting

For languages that require a mapping between a symbolic term and a phonemic sortas value, you have to enable the feature in the System settings. Also, you have to prepare one lookup file for each language that includes the sortas key and the translated phonemic word to replace it.

The sortas key will control the sort order of the element sortas attribute and group the indexterms in the index topic.

  1. Sign in to Paligo using a user account that has administrator permissions.

  2. Select the avatar in the top-right corner. User avatar. It shows the user's image and their name. Next to the name is a downward pointing arrow, which when selected, reveals a menu.

  3. Select Settings from the menu. Cog icon.

  4. Select the System Settings tab. Cog icon.

    System_Settings_tab.jpg
  5. Enable Use lookup files for index sortering with the slider.

    Use_Lookup_files_for_index_sorting.jpg
  6. Prepare a lookup file for each language and name it like this: sortas-lookup-language code.xml.

    Replace the text "language code" with a two-letter or four-letter code (for example "sortas-lookup-ja.xml", "sortas-lookup-zh.xml" or "sortas-lookup-ko.xml". Learn more, see Language Codes.

  7. Build the file like this:

    <sortas-lookup lang="language code">
      <sortas key="phonemic word" value="phonemic word translated"/>
    </sortas-lookup> 
    Sortas-Lookup_file.jpg

    The image shows what a sortas-lookup file for Japanese could look like in an instance that uses English as source language.

  8. Upload the lookup file to the xsl folder, see WebDAV Access to your Paligo Instance Folders.

    Lookup-files_in_xsl-folder.jpg