Siebel CRM Desktop for Microsoft Outlook Administration Guide > Customizing Siebel CRM Desktop > Performing Typical Customization Work >

Localizing Values


You can modify a single file to do the following work:

  • Support different languages.
  • Change a label that Siebel CRM Desktop displays in multiple locations in the user interface.

To localize values

  1. Use an XML editor to open the package_res.xml file.

    For more information, see About Files in the Customization Package.

  2. To define a localizable string, add the following code to the package_res.xml file:

    <str key="string_id">localizable_string</str>

    where:

    • string_id is an Id of the localizable string. The double quotes are required.
    • localizable_string is the localizable string.
  3. Use the localizable string Id in every location where Siebel CRM Desktop must display the string.

    You must use different formats to define the string in different types of files. Use values from the following table.

    File Type
    Description

    Any XML file except for the views.xml file.

    Use the following format:

    #string_id

    For example:

    <cell size="22">

    <static id="account_label" tab_order="6">

    <text>#lbl_account</text>

    </static>

    </cell>

    The views.xml file.

    Use the following format:

    $string_id$

    For example:

    <str key="all_accounts">

    <![CDATA[

    <?xml version="1.0"?> <view

    type="table"> <viewname>$view_siebel_accounts$</viewname>

    ................................. </view>

     

    ]]>

    </str

    Any JavaScript file.

    Use the following format:

    session.res_string("string_id")

    For example:

    ui.message_box(0, session.res_string("msg_general_error"), session.res_string("msg_general_error_caption"), 0x40);

Siebel CRM Desktop for Microsoft Outlook Administration Guide Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.