Running Java Sources in a Specific Locale

See Also 

Once you have set all your locales, internationalized the source code, and built your application, you can run a version of the application for a specific locale. You should create a new execution type that is configured to execute the program in the desired locale.

To run a locale-specific application:

  1. Choose Tools and choose Options from the main window.
  2. Expand Debugging and Executing and expand  Execution Types.
  3. Right-click the Execution Types node and choose New and choose External Execution. You can create a locale-specific execution based on any existing execution type except Internal Execution.
  4. Enter a name for the new execution type.
  5. Select the execution type and click the ellipsis (...) button for External Process.
  6. In the Arguments field, enter the following switches and click OK:
  7. Expand the Editing node and select Java Sources.
  8. Set the Default Executor property to the execution type you created. If you only want to run a single file in the new locale, go to the file's property sheet and set the Executor property to the execution type you created.
  9. Run your application.
See Also
Internationalizing Source Code
Adding and Removing Locales
Editing a Locale

Legal Notices