Internationalization of eclipse RCP's built-in component interface:
1. First, install the Chinese package of eclipse
The specific installation method is not detailed. Find the correct version. I am using eclipse 3.5 Galileo.
Eclipse International Language Pack http://www.eclipse.org/babel/downloads.php find the corresponding entry
Download the corresponding language pack. For example, we want to download it in the red box:
2. Add required plug-ins on the product configuration page.
The product needs to be released. Eclipse RCP provides a good release wizard.
Right-click the eclipse RCP project and create the "Product Configuration" item:
After the dependency is created, click "add required plug-in" on the dependency tab. Eclipse automatically imports the dependent items, for example ):
The red box contains the plug-in dependency of the Chinese package automatically imported by eclipse.
3. Export eclipse RCP Products
Right-click the project, select "Export", export the eclipse product, and click "OK" next.
4. Run the exported product
The buttons in the eclipse RCP dialog box and preference are all changed to Chinese! (Titleareadialog is used in this logon box. The OK and cancel buttons are both built-in. After adding the Chinese dependency, the buttons are converted to Chinese)
There are many things to summarize about eclipse RCP development:
1. "Weight Loss" in the eclipse RCP runtime environment JRE"
2. Use titleareadialog to implement the logon dialog box
3. Integration of eclipse RCP and spring
4. Chinese garbled characters in eclipse RCP packaging and export products
5. Eclipse RCPProgramCannot exit completely
Reprinted:
Http://www.cnblogs.com/tantec/archive/2010/07/23/eclipse-rcp-internationalization-zh-cn.html