OTX Reference
|
|
All available locale codes More...
Additional Inherited Members | |
Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term | |
MetaData | metaData |
Store additional More... | |
All available locale codes
GetAllLocales is a term, which retrieves all available locales from the runtime system for which translations are available (e.g. "de-DE", "en-US").
The fact that a runtime system returns a locale does not guarantee that all translations and units are available. Rather, this method returns the locales that can be used, regardless of data availability. It is however recommended that runtime systems consult their translation data store before returning the list of locales, so the results will be close to the actual available data.
The returned value will be a list of strings using the same locale format as specified for the GetCurrentLocale term.
This term allows querying some of the capabilities of the underlying runtime system. It is useful information e.g. for the TranslateToLocale term, as it is known before hand what can be used as valid locale input.