# Enabling Localization in the Web Page Editor

To localize your Web application:

1. Register the application's resource bundle. For localization to take effect, you define multiple properties files (one for each language), such as application_fr.properties or application_it.properties, for example, in your project's `srs/resources` directory.

2. Localize the JSP page by binding the attributes of tags that display text on the page, as follows:

   - Select a tag in the JSP file and open a property sheet to display the tag's attributes in editable mode.

   - Click Bind to a dynamic value button located to the right of the field that you are editing to open the Choose Binding dialog, and then open the Resources tab.

     The Resources tab displays either the available resource keys or their corresponding values (you set the display mode by making selection in the View box).

   - Using this dialog, you can create a new resource key in the bundle by clicking New Resource Key button a dialog that allows you to define a key and value combination to be added to the resource bundle.

     For example, if the entered key is welcome.back with the value "Please, come back", the newly created resource would be displayed in the Choose Binding dialog,.

3. You can visualize the resources in different locales in the Web Page Editor. To set the design-time locale for your project, use the Resource Locale dialog that you open by selecting a text in the Web Page Editor, and then selecting Text > Resource Locale from the top-level menu.

   Once you choose a new locale and define a new resource key, the new key will be saved in the locale-specific properties file.