Click or drag to resize

Management of languages

AskiaPortalCmn API provide a management of different user languages.

By default, the API is provided with 2 languages ( English - UK and French).

Because translations doesn't change often, it's the rare entities that are in cache for the entire lifetime of the API.

Tip Tip

For the current user, use the IContextTranslator to translate messages.

This topic contains the following sections:

Translations per modules
AskiaPortalException

AskiaPortalException is the generic class that provide exception from AskiaPortal.

The main difference with the regular Exception is the ability to provide error message in English (eg. storage in the logs) and translated in the language of the current user (eg. for the user interface).

See Also