Localizing calendar pop-up Windows in the console

About this task

In the Console, calendar pop-up windows contain literals that must be localized.

Note: The calendar will be rendered on the basis of the first day of the week from the user’s locale.

To localize date formats for calendar popup windows in the Console:

Procedure

  1. Copy the <INSTALL_DIR>/repository/eardata/platform/war/common/alertmessages.js file and save it as <INSTALL_DIR>/repository/eardata/platform/war/common/alertmessages_<language>_<country>.js (with all translations in escaped Unicode format).
  2. Copy the <INSTALL_DIR>/repository/eardatasmcfs/war/ysc/scripts/yscalertmessages.js file and save it as <INSTALL_DIR>/repository/eardatasmcfs/war/ysc/scripts/yscalertmessages_<language>_<country>.js (with all translations in escaped Unicode format).
  3. Copy the <INSTALL_DIR>/repository/eardata/smcfs/war/ysc/scripts/yscalertmessages.js file and save it as <INSTALL_DIR>/repository/eardata/smcfs/war/ysc/scripts/yscalertmessages_<language>_<country>.js (with all translations in escaped Unicode format).
  4. Translate the following date-related literals:
    • monthArray - Contains the series of literals to be used for months of the year
    • weekdayList - Contains the series of literals to be used when displaying the literals for days of the week
    • weekdayArray - Contains the series of literals to be used when displaying the shortened literals for days of the week
    • todayString - Displays the word "Today"
  5. If you are using Oracle WebLogic or IBM® WebSphere®, rebuild the EAR.