I18nResource

Resource to translate given keys (optionally including parameters)

The following resources are part of this group:

/i18n/get

Mount Point: /CNPortletapp/rest/i18n/get

GET

Get the current session language

Response Body

element: languageResponse
media types: application/xml
application/json

session language

/i18n/set

Mount Point: /CNPortletapp/rest/i18n/set

POST

Set the current session language

Request Body

element: setLanguageRequest
media types: */*
application/xml
application/json

request to set the current session language

Response Body

element: genericResponse
media types: application/xml
application/json

response

/i18n/t

Mount Point: /CNPortletapp/rest/i18n/t

GET

Translate the given key and optional parameters (variant with key given as query parameter)

Parameters

name description type default
k translation key query
p optional parameters query

Response Body

element: (custom)
media types: text/plain

translated string

/i18n/t/{key}

Mount Point: /CNPortletapp/rest/i18n/t/{key}

GET

Translate the given key and optional parameters (variant with key given in the path)

Parameters

name description type default
key translation key path
p optional parameters query

Response Body

element: (custom)
media types: text/plain

translated string