Changing the text strings

You can modify the cogformat.xml file to change the text strings that are presented in Query Studio.

For example, in your locale, the dates might be presented as follows:

19/12/03

19-Dec-03

December 19, 2003

Friday, December 19, 2003

If your organization uses the standard date format "19/12/03", you can change the text that appears in Query Studio to "Corporate Standard (19/12/03)".

Procedure

  1. In the cogformat.xml file, locate the date format for the locale you want to modify. For example, the following XML code defines the text strings for date formats for the en-CA (English Canadian) locale:
    ...
    <formatList name="qsdates" xml:lang="en-CA">
      <dateFormat dateStyle="short">19/12/03</dateFormat>
      <dateFormat dateStyle="medium">19-Dec-03</dateFormat>
      <dateFormat dateStyle="long">December 19, 2003</dateFormat>
      <dateFormat dateStyle="full">Friday, December 19,
    2003</dateFormat>
    </formatList>
    ...
  2. To change the text string for a data format, edit it in the XML code. For example, change the text string for that format as follows:
    <dateFormat dateStyle="short">Corporate Standard
    (19/12/03)</dateFormat>

    The dates now appear as follows:

    • Corporate Standard (19/12/03)
    • 19-Dec-03
    • December 19, 2003
    • Friday, December 19, 2003