Customizing Internationalization
You can augment the functionality of the internationalization wizard by
modifying the properties of the wizard.
enabling the generation of custom fields with unique key and value pairs
To customize the internationalization process:
- Choose Tools
Options.
- Select the Internationalization node in the Options window.
In the Properties pane of the Options window:
- Advanced I18N Wizard. Changing to True enables the Modify
additional values panel of the wizard. You can generate fields that
reference the resource bundle. You specify the modifiers for the field
and supply the name of the identifiers. You can also replace the
string format.
- Replace Resource Value. Changing to True enables you to
override the values of any existing keys in the resource bundle.
In the Expert pane of the Options window:
- Init Code Format. When the Advanced Wizard property is set
to True, specifies the format to use for the resource bundle field that is
created at initialization.
- Internationalizaton Regular Expression.Uses an
internationalized regular expression to evaluate whether hard-coded
strings are found to be noninternationalzied. The default regular
expression is contructed in such a way that a hard-coded string is
internationalized if it is a parameter of getBundle or
getString. Through the Property editor, you can set a
regular expression, for example, the way the Internationalization
feature will skip rows with a
//NOI18N
comment.
- Non-Internationalizaton Regular Expression. Uses a
noninternationalized regular expression to evaluate whether hard-coded
strings are found to be internationalized.
- Replace Code Format.Replaces noninternationalized
hard-coded strings found in the resource bundle in the format
selected.
Legal Notices