resources-xx.prop
This language resource file enables you to localize the text elements, such as labels and tooltips, of LiveContent S1000D user interface elements.
The LiveContent S1000D installer delivers the default version of this file to the skins/Carbon/templates/config subdirectory under the LiveContent S1000D program file folder.
You can use multiple resources-xx.prop files (where xx is a two-character ISO code representing a language such as en for English. The file consist of line-based records. Each record corresponds to a key defined in the controls.xml file as a child element of a <control> element, and consists of a name/value pair. The name and value are separated by an assignment operator (=).
The key is used as a placeholder for the related text. At runtime, the resource file related to the language defined for the current session is parsed to return the text for the provided key to be used in the associated control object's text and tooltip. For example, if the defined language is set to FR, text from a language resource file named resources-FR.prop will be returned; if EN is the assigned language, text from a file named resource-EN.prop will be returned.
resources-EN.prop example
<control> element defined in the controls.xml file to contain a <text> element whose value matches the name to the left of the operator.
ctrl.back=Back
ctrl.fwd=Forward
ctrl.home=Home
ctrl.history=History
ctrl.refresh=Refresh
ctrl.print=Print
ctrl.install=Install
ctrl.find=Find
ctrl.clear=Clear
ctrl.admin=Admin
ctrl.config=Applicability
ctrl.tools=Tools
ctrl.exit=Exit
ctrl.help=Help
ctrl.next=Next
ctrl.prev=Previous
ctrl.save=Suspend and Resume
ctrl.docinfo=Document Information
ctrl.show=Debug Information
In this example, a <control> element defined in controls.xml to include a child <text> element with its value set to ctrl.home will use the text "Home" for its label and tooltip for a session in English.