You can localize Sterling Business Center UI icons according
to the standards of your location.
About this task
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.
To localize the icons for a locale:
Procedure
- You need to place a new file with same name
in the following directory:
<INSTALL_DIR>/repository/eardata/sbc/war/localization/<locale>/sbc/resources/core/css
where <locale> is in the format <language_code>/<country
or region_code>/<variant>. Note that <variant> is optional.
For example, <INSTALL_DIR>/repository/eardata/sbc/war/localization/en/US/EST/sbc/resources/core/css/sbc-images.css.
- Add CSS entries in the new file.
For example, to localize the application logo in the
application header, add the following entry:
.sc-panel-logo {
background: transparent url(../icons/app_logo.png) no-repeat scroll 0 0;
height: 50px;
width: 175px;
}
- Copy the localized icon to the relative
path specified in the background property.
For
example, <INSTALL_DIR>/repository/eardata/sbc/war/localization/en/US/EST/sbc/resources/core/icons/apps_logo.png
- Rebuild the Enterprise Archive (EAR) file.