get_translated_prompt Procedure - Intergraph Smart Materials - Version 10.2 - Customization & Programming - Hexagon

Intergraph Smart Materials Customization (10.2)

Language
English
Product
Intergraph Smart Materials
Subproduct
Classic
Search by Category
Customization & Programming
Smart Materials/Smart Reference Data Version
10.2

The procedure get_translated_prompt retrieves the translated prompt, hint text and tooltip depending on the selected glossary (setting of project default ZX_GLOSSAR) and the language you are logged in.

The procedure get_translated_prompt has the following arguments:

p_prompt IN m_glossary_details.translated_prompt%TYPE p_translated_prompt OUT m_glossary_details.translated_prompt%TYPE

p_translated_hint OUT m_glossary_details.translated_hint%TYPE

p_translated_tooltip OUT m_glossary_details.translated_tooltip%TYPE

This is how the procedure works:

In the first step, the system checks whether it can find the given prompt in screen A.30.11 Glossary Entries. The data of this screen are provided by the standard Smart Materials installation. If the prompt cannot be found in that screen, the system checks in a second step for the prompt in screen A.60.36 Customer Labels. If the system finds the prompt in any of these screens, it retrieves the translation that has been provided for it in screen A.30.12 Glossaries.

If no translation can be found for the given prompt or the prompt cannot be found at all (neither in screen A.30.11 nor in screen A.60.36), the prompt that is returned is identical with the prompt that has been the input of the procedure.

If no translation has been provided for a hint text or a tooltip, a NULL value is returned for these parameters.