Localizable names

Any object that has a name visible to end users can have a set of localized names. A single object can therefore have multiple names appropriate for different regions. For example, the country identifier for Switzerland could be referred to by the localized names Switzerland in English-speaking locales, Schweiz in German-speaking locales, and Suisse in French-speaking locales.


You can also set a default name for each object, in the form of a TText object, to be used when no localized name is found for a particular locale.

Locales themselves can be referenced by localizable names. You could therefore reference the German-speaking locale by the name German when an English-speaking locale is active and by the name Deutsch when a German-speaking locale is active. You can use the TLocale function FindLocale to access a locale using a localized name.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker