Namespace: Consultingwerk.SmartFramework.Localization
Interface 
IUserInterfaceTranslationService Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.SmartFramework.Localization.UserInterfaceTranslationService

File:IUserInterfaceTranslationService
Purpose:Provides connection to a translation repository
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri May 10 10:00:14 CEST 2013



Top Method Summary
Options Name Purpose
+ CHARACTER GetPartialMatchKey (character) Returns the Partial match key for the given resource key
+ GetTranslationsForObject (character, table) Returns the translated String Resources Table for the named UI object
+ GetTranslationsForObject (character, CharacterDictionary, table) Returns the String Resources Table for the named UI object
+ StoreTranslationsForObject (character, table) Stores the String Resources Table for the named UI object

Top Event Summary
Options Name Purpose
+ FilterStringResource (Object, FilterStringResourceEventArgs) Event raised to allow filtering out a resource string for translation
+ ObtainTranslation (Object, ObtainTranslationEventArgs) Event raised to allow obtaining customized translation
+ StoreTranslation (Object, StoreTranslationEventArgs) Event raised to allow customizing how a translation is stored


Method Detail
Top

PUBLIC CHARACTER GetPartialMatchKey (character)

Purpose: Returns the Partial match key for the given resource key
Notes:

Parameters:
pcResourceKey CHARACTER
The original resource key
Returns CHARACTER
The partial match key
Top

PUBLIC GetTranslationsForObject (character, table)

Purpose: Returns the translated String Resources Table for the named UI object
Notes:

Parameters:
pcObjectName CHARACTER
The name of the object to translate (class name)
eStringResources TEMP-TABLE eStringResources
INPUT-OUTPUT The table with the string resources (input the original strings, output the translated)
Top

PUBLIC GetTranslationsForObject (character, CharacterDictionary, table)

Purpose: Returns the String Resources Table for the named UI object
Notes:

Parameters:
pcObjectName CHARACTER
The name of the object to translate (class name)
poOriginalStrings Consultingwerk.Framework.Collections.CharacterDictionary
The dictionary with the original UI strings
eStringResources TEMP-TABLE eStringResources
OUTPUT The table with the string resources
Top

PUBLIC StoreTranslationsForObject (character, table)

Purpose: Stores the String Resources Table for the named UI object
Notes:

Parameters:
pcObjectName CHARACTER
The name of the object to translate (class name)
eStringResources TEMP-TABLE eStringResources
INPUT-OUTPUT The table with the string resources


Event Detail
Top

PUBLIC FilterStringResource (Object, FilterStringResourceEventArgs)

Purpose: Event raised to allow filtering out a resource string for translation
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.SmartFramework.Localization.FilterStringResourceEventArgs
The FilterStringResourceEventArgs with the data for this event
Top

PUBLIC ObtainTranslation (Object, ObtainTranslationEventArgs)

Purpose: Event raised to allow obtaining customized translation
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.SmartFramework.Localization.ObtainTranslationEventArgs
The ObtainTranslationEventArgs with the data for this event
Top

PUBLIC StoreTranslation (Object, StoreTranslationEventArgs)

Purpose: Event raised to allow customizing how a translation is stored
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.SmartFramework.Localization.StoreTranslationEventArgs
The StoreTranslationEventArgs with the data for this event


Temp-Table Detail

Temp-Table eStringResources

Defined in:


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:21:11