Reader small image

You're reading from  Oracle Siebel CRM 8 Developer's Handbook

Product typeBook
Published inApr 2011
Reading LevelIntermediate
Publisher
ISBN-139781849681865
Edition1st Edition
Languages
Concepts
Right arrow
Author (1)
Alexander Hansal
Alexander Hansal
author image
Alexander Hansal

Alexander Hansal has worked as an IT professional in small, medium, and global corporations. Since 2001, Alexander works as a technical instructor and consultant for Siebel CRM and Oracle Business Intelligence in Europe. He enjoys teaching, and shares his knowledge and expertise in his classes at Oracle University and in his weblog, http://siebel-essentials.blogspot.com/
Read more about Alexander Hansal

Right arrow

Using translatable messages


In the script examples in this and the previous chapter we used several techniques of displaying messages to the end user. In all of the examples, the text that should be displayed to the end user is stored as a static string within the script code for the sake of readability.

Using static strings is not a recommended practice, so it is time to discuss the options for storing message texts in a central location outside of the script code. This technique also enables us to use the same code for all user interface languages in multilingual environments.

As we have learned in previous chapters, the Symbolic String definitions serve this purpose. We can create new Symbolic String object definitions to store the language-specific versions of our message texts.

The LookupMessage() and RaiseError() server script methods of the application object allow developers to retrieve translated text and fill placeholders in the text (defined using the percent sign (%) followed...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Oracle Siebel CRM 8 Developer's Handbook
Published in: Apr 2011Publisher: ISBN-13: 9781849681865

Author (1)

author image
Alexander Hansal

Alexander Hansal has worked as an IT professional in small, medium, and global corporations. Since 2001, Alexander works as a technical instructor and consultant for Siebel CRM and Oracle Business Intelligence in Europe. He enjoys teaching, and shares his knowledge and expertise in his classes at Oracle University and in his weblog, http://siebel-essentials.blogspot.com/
Read more about Alexander Hansal