Options Window: Internationalization
See Also
The IDE enables you to edit various settings that affect the behavior of the I18N module.
You can modify Internationalization settings in the Options window.
You can access the Internationalization settings in Advanced Options by choosing Tools > Options from the main menu and clicking Advanced Options in the Options window.
In the left pane, expand the Editing node and select Internationalization.
Properties
- Advanced Wizard. When selected, the Modify
Additional Values pane of the Internationalization wizard is enabled. This
pane lets you generate a variable that references the resource bundle. You
can then use the variable to access the resource bundle rather than the bundle's
full name.
- Overwrite Resource Value. When selected,
you can override the values of any existing keys in the resource bundle.
Expert I18N Settings
The IDE provides special property editors to assist you in
forming POSIX-style regular expressions to
determine whether a string is internationalized and to generate internationalization
code. The editors' dialog boxes include predefined variables for common elements that
you can use in your regular expressions, such as punctuation and spaces.
Expert I18N editors for the following properties are available in the IDE:
- I18n Test Wizard Format. The regular expression used by the
Internationalization Test wizard to identify all internationalized strings.
By default, this setting returns all strings that are parameters of getString
(notice that getBundle is ommited). For each returned string, the
Internationalization Test wizard looks for a matching key and value in the
source file's resource bundle.
- Bundle Init Format. The default code format used to initialize
resource bundles.
- I18n Search Format. The regular expression used by the Internationalization
wizard and the Internationalize command to identify all strings that should
not be internationalized. The Internationalize command converts all strings
that do not match this format into internationalized strings.
By default, this setting returns all strings that are in getString
and getBundle method calls. If you append //NOI18N to
the regular expression, the IDE will also skip any row that contains a //NOI18N
comment.
- I18n String Format. The default code format used to make internationalized
strings. For more information on individual code formats, see Code
Formats for Internationalized Strings.
- See Also
- Internationalizing a Set of Files With the Internationalization Wizard
- Code Formats for Internationalized Strings
- Adding Arguments for Message Formats
- Using the Options Window
Legal Notices