Difference between revisions of "Custom Labels"
From LongJump Support Wiki
imported>Aeric m (Text replace - 'Setup > Customize > ' to 'Designer > Global Resources > ') |
imported>Aeric m (Text replace - 'Designer > Global Resources' to 'Settings > Administration > Global Resources') |
||
(2 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
To add custom labels: | To add custom labels: | ||
#Click ''' | #Click '''Settings > Administration > Global Resources > Translation Workbench''' | ||
#Specify the following information: | #Specify the following information: | ||
#;Language:Select the desired language | #;Language:Select the desired language | ||
Line 23: | Line 23: | ||
#;Category:--New Category-- | #;Category:--New Category-- | ||
#;Category Name:Enter a name for the category | #;Category Name:Enter a name for the category | ||
#Click the [New] button | #Click the '''[New Category]''' button | ||
#In the form that appears, enter the token and the Translated Custom Message | #In the form that appears, enter the token and the Translated Custom Message | ||
#*A maximum of 100 tokens can be created for each Category | #*A maximum of 100 tokens can be created for each Category | ||
#Click '''[Save]''' | #Click '''[Save]''' | ||
<noinclude>[[Category:Language Translation]]</noinclude> | <noinclude>[[Category:Language Translation]]</noinclude> | ||
<noinclude>[[Category:{{features}}]]</noinclude> | <noinclude>[[Category:{{features}}]]</noinclude> |
Latest revision as of 23:44, 22 June 2012
Custom Labels provide the the ability to create free-form messages, or alphanumeric text strings in:
- Onscreen help or tips
- Alert messages
- Warning messages
The custom labels are added via the Translation Workbench, and are used in these elements in the platform:
- Pages
- Classes
- Actions
- Java API: showMessage, throwError
- JavaScript validation messages
- Web Tabs
- Components
To add custom labels:
- Click Settings > Administration > Global Resources > Translation Workbench
- Specify the following information:
- Language
- Select the desired language
- Elements
- Custom Labels
- Category
- --New Category--
- Category Name
- Enter a name for the category
- Click the [New Category] button
- In the form that appears, enter the token and the Translated Custom Message
- A maximum of 100 tokens can be created for each Category
- Click [Save]