Click or drag to resize

ITextApi Methods

The ITextApi type exposes the following members.

Methods
  Name Description
Public method Code example CacheAndTranslate Cache and translate a text resource by a given key with language name (en or da)
Public method Code example LoadTextResources Load text resources by a language name which could be en or da
Example
C#
var textApi = ctx.Use<ITextApi>();
var textResult = textApi.LoadTextResources("en")
Public method Code example Translate Translate a text resource by a given key with language name (en or da)
Example
C#
var textApi = ctx.Use<ITextApi>();
var translatedText = textApi.Translate("cw_search_result_limit_exceeded", "en");
Top
See Also