A language an organisation has made available, so content and translations can be offered in it. Languages are defined per admin organisation rather than globally, so each tenant chooses which ones it offers. The code is the identifier used when matching content and translations, and the title is the display label shown to users. Languages are listed in title order.

Group: Database Entities

Implements: Serializable


Properties

PropertyReturnsDescription
codeStringCode of the language, such as en or fr, used to match content and translations. This is the identifier, as against the title which is only for display.
idlongDatabase identifier for this language, assigned when it is first saved.
titleStringDisplay name of the language as it is shown to users, for example English. Free text with no uniqueness guarantee, so never use it as a lookup key.

Methods

getId()

Returns: long

Database identifier for this language, assigned when it is first saved.

getCode()

Returns: String

Code of the language, such as en or fr, used to match content and translations. This is the identifier, as against the title which is only for display.

getTitle()

Returns: String

Display name of the language as it is shown to users, for example English. Free text with no uniqueness guarantee, so never use it as a lookup key.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.