GenoPro Developer Home
GenoPro Home  |  SDK Home  |  Report Generator  |  Support  |  Search  |  Help  |  Site Map

Skip Navigation Links.

LanguageDictionary Class

The LanguageDictionary class is very simple to use. The lookup to the section is done by specifying the keyword value as a parameter to the LanguageDictionary object.

strName = i.name If (strName = "") Then strName = LanguageDictionary("_NoName")
    End If Report.WriteText strName
Property Description
Cardinal(int value)
Ordinal(int value)
OrdinalFormatted(int value)
Plurial(String key, int count) Returns the plural of the word base on the number of element.
PlurialCardinal(String key, int count)
PlurialCount(String key, int count)

 

Methods Description
FormatPhrase(...) Returns the phrase based a on template in the language dictionary.
FormatString(...) Returns the formatted string based a on template in the language dictionary.
Lookup(String key) Returns the translated text for an identifier in the section.
Lookup2(String key, String keyFallback) Returns the translated text for an identifier in the section. If not found, returns the second one.
LookupEx(String keyStart, String keyEnd) Returns the translated text for an identifier that is the concatenation of both parameters.
Peek(String key) Same as lookup but no error reported if key not found.
Peek2(String key, String keyFallback) Same as lookup but no error reported if key not found.
SearchKeywordHyperlink(...)

See Also:
Dictionary

 

 

Copyright ┬ę 1998-2014. All rights reserved. GenoPro┬« and the GenoPro logo are registered trademarks.