Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Platform Plug-in Development Environment Guide
Previous Page Home Next Page

Externalizing Strings

PDE provides an Externalize Strings wizard to help externalize strings in your Manifest and plugin.xml files. Externalizing manifest files extracts translatable strings and stores them in a properties file for multi-language support. The wizard is available under the PDE Tools menu in the context menu of a PDE project's MANIFEST.MF or plugin.xml files.

File Selections

File Selections

The Plug-ins with non-externalized strings table displays all the plug-in related files in the workspace that contain non-externalized strings. The files are grouped by project, and they display the number of non-externalized strings in brackets. You can select one or more files to externalize at one time.

The text in the Localization box will be used to define the properties file in which the externalized string keys should be stored. The file's name is created by adding ".properties" to the localization value.

String Substitution

String Substitution

After selecting a file in the Plug-ins with non-externalized strings table, the non-externalized strings will be displayed in the Strings to be externalized table. Since you may not want to externalize all the strings in the file, you may choose which strings you wish to externalize by checking or unchecking strings in the table. Click on the Substitution Key column to change the key name.

To see the current string value in the table, select either the Value or Substitution Key column of a string. The strings location will be highlighted and displayed in the Source display.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire