Localizing icons

Icons are displayed in the user interface using the CSS entries. To localize the icons, you must override the appropriate CSS entries such that they point to the localized version of the icons.

About this task

To localize the icons for a locale:

Procedure

  1. You need to place a new file with same name in the following directory:
    
    <INSTALL_DIR>/repository/eardata/sma/war/localization/<locale>/sma/css/sma.css.
    

    where <locale> is in the format <language_code>/<country_code>/<variant>.

    For example,

    
    <INSTALL_DIR>/repository/eardata/sma/war/localization/en/US/EST/sma/css/sma.css.
    
  2. Add CSS entries in the new file.

    For example, to localize the create button, add the following entry: .sma-create-button {

    
    background-image: url(../console/icons/customadd.gif) !important;
    background-repeat: no-repeat;
    } 
    
  3. Copy the localized icon to the relative path specified in the background property.

    For example,

    
    <INSTALL_DIR>/repository/eardata/sma/war/localization/en/US/EST/sma/
    console/icons/customadd.gif
    
  4. Rebuild the Enterprise Archive (EAR) file.